Salome HOME
0020463: EDF 1099 SMESH: performance regression from V4 to V5
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshDlg.cxx
index e293f887416821ce709a21f0ac9c62768466011b..3a9f90256b6bf1bd2e7fe8bcec7d93dc287aefbb 100644 (file)
@@ -576,6 +576,16 @@ void SMESHGUI_MeshDlg::enableTab(const int theTabId) {
   myTabWg->setTabEnabled( myTabWg->indexOf( myTabs[ theTabId ] ), true );
 }
 
+//================================================================================
+/*!
+ * \brief Check if tab enabled
+ * \param int - tab ID
+ */
+//================================================================================
+bool SMESHGUI_MeshDlg::isTabEnabled(const int theTabId) const {
+  return myTabWg->isTabEnabled( myTabWg->indexOf( myTabs[ theTabId ] ) );
+}
+
 void SMESHGUI_MeshDlg::onGeomSelectionButton(bool isBtnOn)
 {
   if ( myGeomPopup && isBtnOn )