Salome HOME
Simplified calculation of fly out distance and creation of constraints limited only...
[modules/shaper.git] / src / XGUI / XGUI_ObjectsBrowser.h
index 6137fb29f631d10cdc4ec973510ca281709a1808..d92788abecde6f02730041ba7202c3690b3c1b5b 100644 (file)
@@ -16,7 +16,7 @@ class ModuleBase_IDocumentDataModel;
 class QLineEdit;
 class XGUI_DataModel;
 
-#define ModuleDataModel
+//#define ModuleDataModel
 
 /**
 * \ingroup GUI
@@ -114,7 +114,9 @@ Q_OBJECT
   void clearContent();
 
   /// Set Data Model for the Object Browser
+#ifdef ModuleDataModel
   void setDataModel(ModuleBase_IDocumentDataModel* theModel);
+#endif
 
 public slots:
   //! Called on Edit command request