From 8e4d0d1999dc9e46d44fac41b57a9e93debbca1c Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 29 Dec 2005 07:34:49 +0000 Subject: [PATCH] To improve restore configuration functionality --- src/VISUGUI/VisuGUI_Module.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); -- 2.39.2