mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-25 02:10:32 +05:00
0020319: EDF SMESH 1007: creation of a sub-mesh on face tries to assign Netgen3D algorithm
This commit is contained in:
parent
103c6cfb67
commit
0b8a0a7ce8
@ -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 {
|
||||
myTabWg->isTabEnabled( myTabWg->indexOf( myTabs[ theTabId ] ) );
|
||||
}
|
||||
|
||||
void SMESHGUI_MeshDlg::onGeomSelectionButton(bool isBtnOn)
|
||||
{
|
||||
if ( myGeomPopup && isBtnOn )
|
||||
|
@ -71,6 +71,7 @@ public:
|
||||
void setGeomPopupEnabled( const bool );
|
||||
void disableTab(const int);
|
||||
void enableTab(const int);
|
||||
bool isTabEnabled(const int) const;
|
||||
int getActiveObject();
|
||||
|
||||
signals:
|
||||
|
@ -1585,7 +1585,7 @@ int SMESHGUI_MeshOp::currentHyp( const int theDim, const int theHypType ) const
|
||||
//================================================================================
|
||||
bool SMESHGUI_MeshOp::isAccessibleDim( const int theDim ) const
|
||||
{
|
||||
return myDlg->tab( theDim )->isEnabled();
|
||||
return myDlg->isTabEnabled( theDim );
|
||||
}
|
||||
|
||||
//================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user