Salome HOME
Merge branch 'master' of ssh://git.salome-platform.org/modules/gui
[modules/gui.git] / src / PVViewer / PVViewer_Behaviors.cxx
index 75fc467cc2adfedf8f4b30a805225316464b446b..5b2a4772a662f74d598a204f4b78750f9569b5af 100644 (file)
@@ -21,7 +21,6 @@
 #include "PVViewer_Behaviors.h"
 
 #include <SUIT_Desktop.h>
-#include <SalomeApp_Module.h>
 
 #include <pqInterfaceTracker.h>
 #include <pqApplicationCore.h>
@@ -80,7 +79,6 @@ void PVViewer_Behaviors::instanciateMinimalBehaviors(SUIT_Desktop * desk)
 
       new pqDefaultViewBehavior(this);  // shows a 3D view as soon as a server connection is made
       new pqAlwaysConnectedBehavior(this);  // client always connected to a server
-      new pqAutoLoadPluginXMLBehavior(this);  // auto load plugins
       new pqVerifyRequiredPluginBehavior(this);
       new pqPluginSettingsBehavior(this);
       new pqFixPathsInStateFilesBehavior(this);
@@ -112,6 +110,7 @@ void PVViewer_Behaviors::instanciateAllBehaviors(SUIT_Desktop * desk)
       new pqSpreadSheetVisibilityBehavior(this);
       new pqPipelineContextMenuBehavior(this);
       new pqUndoRedoBehavior(this);
+      new pqAutoLoadPluginXMLBehavior(this);  // auto load plugins GUI stuff
       new pqPluginDockWidgetsBehavior(desk);
       new pqPluginActionGroupBehavior(desk);
       new pqPersistentMainWindowStateBehavior(desk);