From: apo Date: Thu, 29 Dec 2005 07:34:49 +0000 (+0000) Subject: To improve restore configuration functionality X-Git-Tag: TG-D5-38-2003_D2005-29-12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e4d0d1999dc9e46d44fac41b57a9e93debbca1c;p=modules%2Fvisu.git To improve restore configuration functionality --- diff --git a/src/VISUGUI/VisuGUI_Module.cxx b/src/VISUGUI/VisuGUI_Module.cxx index 21bd9ca2..dfd14a21 100644 --- a/src/VISUGUI/VisuGUI_Module.cxx +++ b/src/VISUGUI/VisuGUI_Module.cxx @@ -299,8 +299,8 @@ VisuGUI_Module mgr->setRule( action( GAUSS_DISPLAY_ONLY_PRS ), aRule, true ); - createAction( GAUSS_RENAME_CONFIGURATION, tr("MEN_RENAME"), QIconSet(), - tr("MEN_RENAME"), "", 0, this, false, + createAction( GAUSS_RENAME_CONFIGURATION, VisuGUI::tr("MEN_RENAME"), QIconSet(), + VisuGUI::tr("MEN_RENAME"), "", 0, this, false, this, SLOT(OnRename())); mgr->insert( action( GAUSS_RENAME_CONFIGURATION ), -1, -1, -1 ); mgr->setRule( action( GAUSS_RENAME_CONFIGURATION ), "selcount=1 and type='VISU::TGAUSSVIEW'", true ); @@ -1562,6 +1562,8 @@ OnRestoreConfiguration() SVTK_Selector* aSelector = aViewWindow->GetSelector(); aSelector->SetSelectionMode(aSelectionMode); + SetGaussPointsSelection(this,aViewWindow,aCStudy,aSObject); + std::string aSegmentationMode; if(VVTK_MainWindow1* aMainWindow = aViewWindow->getMainWindow1()){ aMainWindow->SetPlanesSegementation(false);