]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To improve restore configuration functionality TG-D5-38-2003_D2005-29-12
authorapo <apo@opencascade.com>
Thu, 29 Dec 2005 07:34:49 +0000 (07:34 +0000)
committerapo <apo@opencascade.com>
Thu, 29 Dec 2005 07:34:49 +0000 (07:34 +0000)
src/VISUGUI/VisuGUI_Module.cxx

index 21bd9ca294c01a490b1c0e68b5a726547a171745..dfd14a21f0f2bb1cd8cb2c97bf05f83741a205ad 100644 (file)
@@ -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);