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