]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authorvsv <vsv@opencascade.com>
Thu, 29 May 2008 11:37:50 +0000 (11:37 +0000)
committervsv <vsv@opencascade.com>
Thu, 29 May 2008 11:37:50 +0000 (11:37 +0000)
src/Qtx/QtxActionToolMgr.cxx
src/SVTK/SVTK_ViewModel.cxx

index 84f285313de05bd90a5303738b3b88338fa922bc..2de50600d7e6957a4f2a75374a4176c8fc64ee6f 100644 (file)
@@ -121,7 +121,7 @@ int QtxActionToolMgr::createToolBar( const QString& title, const int tid, QMainW
   if ( !tb )
   {
     tb = new QtxToolBar( true, tbw );
-    //mainWindow()->addToolBar( tb );
+    mainWindow()->addToolBar( tb ); /// VSV !!! Has to be removed after VVTK removal
     tb->setWindowTitle( title );
     tb->setObjectName( title );
   }
index ecd4da93a55565f1fe397f62f2e17d260883a014..f01338188bb2d076c0d6f738fdc00227ad957789 100644 (file)
@@ -222,10 +222,12 @@ SVTK_Viewer
       thePopup->addAction( (*it)->toggleViewAction() );
     aView->RefreshDumpImage();
   }
-//   SALOME_ViewExtender* aExtender = myActiveModule->getViewExtender();
-//   if (aExtender) {
-//     aExtender->contextMenuPopup(thePopup);
-//   }
+  if (myActiveModule) {
+    CAM_ViewExtender* aExtender = myActiveModule->getViewExtender();
+    if (aExtender) {
+      aExtender->contextMenuPopup(thePopup);
+    }
+  }
 }
 
 /*!