]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/MeasureGUI/MeasureGUI_NormaleDlg.cxx
Salome HOME
0021672: [CEA 565] Dump Study from script
[modules/geom.git] / src / MeasureGUI / MeasureGUI_NormaleDlg.cxx
index 44fc3639a47adabc818d0a032a3dfc97a5e81453..6484ad1f217d018609b80b2f93d1401e21c0151c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -21,6 +21,7 @@
 // File   : MeasureGUI_NormaleDlg.cxx
 // Author : Julia DOROVSKIKH, Open CASCADE S.A.S.
 //
+#include "MeasureGUI.h"
 #include "MeasureGUI_NormaleDlg.h"
 
 #include <DlgRef.h>
@@ -246,7 +247,7 @@ void MeasureGUI_NormaleDlg::SelectionIntoArgument()
       GroupArgs->PushButton1->click();
   }
 
-  displayPreview(true);
+  DISPLAY_PREVIEW_MACRO
 }
 
 //=================================================================================
@@ -286,7 +287,7 @@ void MeasureGUI_NormaleDlg::SetEditCurrentArgument()
   send->setDown(true);
 
   // seems we need it only to avoid preview disappearing, caused by selection mode change
-  displayPreview(true);
+  DISPLAY_PREVIEW_MACRO
 }
 
 //=================================================================================
@@ -313,7 +314,7 @@ void MeasureGUI_NormaleDlg::ActivateThisDialog()
   connect( myGeomGUI->getApp()->selectionMgr(), SIGNAL( currentSelectionChanged() ),
            this, SLOT( SelectionIntoArgument() ) );
 
-  displayPreview(true);
+  DISPLAY_PREVIEW_MACRO
 }
 
 //=================================================================================