From c9d6708dcd0058b189d2f0665598d8a4718726cb Mon Sep 17 00:00:00 2001 From: ribes Date: Wed, 27 Apr 2011 15:14:46 +0000 Subject: [PATCH] remove warning (thanks to EA) --- src/genericgui/BL_CreateJobWizard.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.2