Edit Mesh/Sub-Mesh window has strange "half-active" view, if do Compute.

This commit is contained in:
dmv 2008-10-23 08:15:14 +00:00
parent 571d6f3701
commit da567d9f1e
2 changed files with 7 additions and 2 deletions

View File

@ -75,9 +75,14 @@ void SMESHGUI_Dialog::show()
// 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 );
}
//=================================================================================

View File

@ -51,7 +51,7 @@ public:
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& );