From: ribes Date: Wed, 27 Apr 2011 15:14:46 +0000 (+0000) Subject: remove warning (thanks to EA) X-Git-Tag: V6_3_0b1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c9d6708dcd0058b189d2f0665598d8a4718726cb;p=modules%2Fjobmanager.git remove warning (thanks to EA) --- diff --git a/src/genericgui/BL_CreateJobWizard.cxx b/src/genericgui/BL_CreateJobWizard.cxx index 319fad7..d87215c 100644 --- a/src/genericgui/BL_CreateJobWizard.cxx +++ b/src/genericgui/BL_CreateJobWizard.cxx @@ -356,10 +356,10 @@ BL::JobNamePage::validatePage() return return_value; } -int +int BL::JobNamePage::nextId() const { - if (_yacs_schema_button->isChecked()) + if (_yacs_schema_button->isChecked()) { return BL::CreateJobWizard::Page_YACSSchema; } @@ -367,7 +367,7 @@ BL::JobNamePage::nextId() const { return BL::CreateJobWizard::Page_Command_Main_Definitions; } - else if (_python_salome_button->isChecked()) + else { return BL::CreateJobWizard::Page_PythonSalome_Main_Definitions; }