Salome HOME
Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something
authorvsr <vsr@opencascade.com>
Wed, 27 May 2009 14:10:47 +0000 (14:10 +0000)
committervsr <vsr@opencascade.com>
Wed, 27 May 2009 14:10:47 +0000 (14:10 +0000)
src/SMESHGUI/SMESHGUI_MeshDlg.cxx

index b6e2da7037c14c8e759bcc3b8a63081e09339c21..3a9f90256b6bf1bd2e7fe8bcec7d93dc287aefbb 100644 (file)
@@ -583,7 +583,7 @@ void SMESHGUI_MeshDlg::enableTab(const int theTabId) {
  */
 //================================================================================
 bool SMESHGUI_MeshDlg::isTabEnabled(const int theTabId) const {
-  myTabWg->isTabEnabled( myTabWg->indexOf( myTabs[ theTabId ] ) );
+  return myTabWg->isTabEnabled( myTabWg->indexOf( myTabs[ theTabId ] ) );
 }
 
 void SMESHGUI_MeshDlg::onGeomSelectionButton(bool isBtnOn)