From: vsr Date: Wed, 27 May 2009 14:10:47 +0000 (+0000) Subject: Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something X-Git-Tag: V5_1_2rc1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b726570a5c0a779c1f85e0172138be8aa80600f4;p=modules%2Fsmesh.git Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something --- diff --git a/src/SMESHGUI/SMESHGUI_MeshDlg.cxx b/src/SMESHGUI/SMESHGUI_MeshDlg.cxx index b6e2da703..3a9f90256 100644 --- a/src/SMESHGUI/SMESHGUI_MeshDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshDlg.cxx @@ -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)