From b726570a5c0a779c1f85e0172138be8aa80600f4 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 27 May 2009 14:10:47 +0000 Subject: [PATCH] Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something --- src/SMESHGUI/SMESHGUI_MeshDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2