// function : setContentActive
// purpose :
//=================================================================================
-void SMESHGUI_Dialog::setContentActive( const bool active ) const
+void SMESHGUI_Dialog::setContentActive( const bool active )
{
mainFrame()->setEnabled( active );
+ setButtonEnabled( active, OK );
+ setButtonEnabled( active, Apply );
+ setButtonEnabled( active, Cancel );
+ setButtonEnabled( active, Close );
+ setButtonEnabled( active, Help );
}
//=================================================================================
virtual void show();
//! set all content to enable (parameter is true) or disable state
- virtual void setContentActive( const bool ) const;
+ virtual void setContentActive( const bool );
//! Return hard-coded prefix using to differ overlapping types
static int prefix( const QString& );