mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 21:00:33 +05:00
Edit Mesh/Sub-Mesh window has strange "half-active" view, if do Compute.
This commit is contained in:
parent
54e2aba6c5
commit
5958898517
@ -70,9 +70,14 @@ void SMESHGUI_Dialog::show()
|
|||||||
// function : setContentActive
|
// function : setContentActive
|
||||||
// purpose :
|
// purpose :
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_Dialog::setContentActive( const bool active ) const
|
void SMESHGUI_Dialog::setContentActive( const bool active )
|
||||||
{
|
{
|
||||||
mainFrame()->setEnabled( active );
|
mainFrame()->setEnabled( active );
|
||||||
|
setButtonEnabled( active, OK );
|
||||||
|
setButtonEnabled( active, Apply );
|
||||||
|
setButtonEnabled( active, Cancel );
|
||||||
|
setButtonEnabled( active, Close );
|
||||||
|
setButtonEnabled( active, Help );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
|
@ -52,7 +52,7 @@ public:
|
|||||||
virtual void show();
|
virtual void show();
|
||||||
|
|
||||||
//! set all content to enable (parameter is true) or disable state
|
//! 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
|
//! Return hard-coded prefix using to differ overlapping types
|
||||||
static int prefix( const QString& );
|
static int prefix( const QString& );
|
||||||
|
Loading…
Reference in New Issue
Block a user