mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
Fix for bug PAL6698.
This commit is contained in:
parent
7327fd50ad
commit
447b12a82d
@ -831,6 +831,7 @@ SalomeApp_Module( "SMESH" )
|
||||
}
|
||||
|
||||
myActiveDialogBox = 0;
|
||||
myFilterLibraryDlg = 0;
|
||||
myState = -1;
|
||||
myDisplayer = 0;
|
||||
|
||||
@ -2060,7 +2061,11 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
||||
aTypes.append( SMESH::FACE );
|
||||
aTypes.append( SMESH::VOLUME );
|
||||
}
|
||||
new SMESHGUI_FilterLibraryDlg( this, SMESH::GetDesktop( this ), aTypes, SMESHGUI_FilterLibraryDlg::EDIT );
|
||||
if (!myFilterLibraryDlg)
|
||||
myFilterLibraryDlg = new SMESHGUI_FilterLibraryDlg( this, SMESH::GetDesktop( this ), aTypes, SMESHGUI_FilterLibraryDlg::EDIT );
|
||||
else if (myFilterLibraryDlg->isHidden())
|
||||
myFilterLibraryDlg->show();
|
||||
myFilterLibraryDlg->raise();
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -48,6 +48,8 @@ class LightApp_Operation;
|
||||
class SalomeApp_Study;
|
||||
class LightApp_SelectionMgr;
|
||||
|
||||
class SMESHGUI_FilterLibraryDlg;
|
||||
|
||||
|
||||
//=================================================================================
|
||||
// class : SMESHGUI
|
||||
@ -138,6 +140,8 @@ private :
|
||||
int myState;
|
||||
QMap<int,QString> myRules;
|
||||
LightApp_Displayer* myDisplayer;
|
||||
|
||||
SMESHGUI_FilterLibraryDlg* myFilterLibraryDlg;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -102,7 +102,7 @@ SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule,
|
||||
const QValueList<int>& theTypes,
|
||||
const int theMode,
|
||||
const char* theName)
|
||||
: QDialog( parent, theName, true, WStyle_Customize |
|
||||
: QDialog( parent, theName, false, WStyle_Customize |
|
||||
WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu ),
|
||||
mySMESHGUI( theModule )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user