}
myActiveDialogBox = 0;
+ myFilterLibraryDlg = 0;
myState = -1;
myDisplayer = 0;
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;
class SalomeApp_Study;
class LightApp_SelectionMgr;
+class SMESHGUI_FilterLibraryDlg;
+
//=================================================================================
// class : SMESHGUI
int myState;
QMap<int,QString> myRules;
LightApp_Displayer* myDisplayer;
+
+ SMESHGUI_FilterLibraryDlg* myFilterLibraryDlg;
};
#endif
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 )
{