]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0023494: [CEA 2183] In ParaViS, a right click doesn't trigger the context menu
authorvsr <vsr@opencascade.com>
Mon, 23 Oct 2017 09:40:59 +0000 (12:40 +0300)
committervsr <vsr@opencascade.com>
Mon, 23 Oct 2017 09:40:59 +0000 (12:40 +0300)
src/PVViewer/PVViewer_Behaviors.cxx

index ddaae388f786fb09c1c78b37bca91b09128b8b4d..3c07d03289a667e8835f88df4d81b6d190eae934 100644 (file)
@@ -75,6 +75,7 @@ void PVViewer_Behaviors::instanciateMinimalBehaviors(QMainWindow * desk)
       // Load plugins distributed with application.
       pqApplicationCore::instance()->loadDistributedPlugins();
 
+      new pqPipelineContextMenuBehavior(this);
       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 pqVerifyRequiredPluginBehavior(this);
@@ -105,7 +106,7 @@ void PVViewer_Behaviors::instanciateAllBehaviors(QMainWindow * desk)
       //new pqQtMessageHandlerBehavior(this);   // THIS ONE TO EXCLUDE !! see comment above
       new pqDataTimeStepBehavior(this);
       new pqSpreadSheetVisibilityBehavior(this);
-      new pqPipelineContextMenuBehavior(this);
+      //new pqPipelineContextMenuBehavior(this);
       new pqUndoRedoBehavior(this);
       new pqAutoLoadPluginXMLBehavior(this);  // auto load plugins GUI stuff
       new pqPluginDockWidgetsBehavior(desk);