Salome HOME
Preparation of intermediate revision
[modules/geom.git] / src / EntityGUI / EntityGUI_SketcherDlg.cxx
index 0ffb8134427b6f1da680612fd4b2b76b9f2b539e..b645a08c4ce18c2b641e5d5bd0c01ea05c1e7bcf 100644 (file)
@@ -38,6 +38,7 @@
 #include <SUIT_MessageBox.h>
 #include <SUIT_ResourceMgr.h>
 #include <SalomeApp_Application.h>
+#include <SalomeApp_Notebook.h>
 #include <LightApp_Application.h>
 #include <LightApp_SelectionMgr.h>
 
@@ -1489,7 +1490,7 @@ bool EntityGUI_SketcherDlg::execute( ObjectList& objects )
     if( !IsPreview() ) {
       QStringList aCurrentParameters = myParameters;
       aCurrentParameters << aParameters;
-      anObj->SetParameters(aCurrentParameters.join(":").toLatin1().constData());
+      myNoteBook->setParameters(anObj, aCurrentParameters);
     }
 
     objects.push_back( anObj._retn() );