From: vsv Date: Thu, 29 May 2008 11:37:50 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TG_VISU_2008_2008-06-26~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f01f43d0bddc56315d488e766671cac783a49139;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/Qtx/QtxActionToolMgr.cxx b/src/Qtx/QtxActionToolMgr.cxx index 84f285313..2de50600d 100644 --- a/src/Qtx/QtxActionToolMgr.cxx +++ b/src/Qtx/QtxActionToolMgr.cxx @@ -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 ); } diff --git a/src/SVTK/SVTK_ViewModel.cxx b/src/SVTK/SVTK_ViewModel.cxx index ecd4da93a..f01338188 100644 --- a/src/SVTK/SVTK_ViewModel.cxx +++ b/src/SVTK/SVTK_ViewModel.cxx @@ -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); + } + } } /*!