Salome HOME
Fix for PAL8119.
authormzn <mzn@opencascade.com>
Wed, 9 Feb 2005 08:08:38 +0000 (08:08 +0000)
committermzn <mzn@opencascade.com>
Wed, 9 Feb 2005 08:08:38 +0000 (08:08 +0000)
src/VISUGUI/VisuGUI.cxx

index c9be00a31169cff3f54b6235cefd2230793921d1..aff74e336e114c9939cedf38182e119c66028f8a 100644 (file)
@@ -636,6 +636,7 @@ bool VisuGUI::OnGUIEvent(int theCommandID,  QAD_Desktop* parent)
     case 54:
       {
        QMenuData* pp;
+       QMenuItem* item = parent->menuBar()->findItem(theCommandID,&pp);
        bool check = !pp->isItemChecked(theCommandID);
        pp->setItemChecked(theCommandID,check);
        switch(theCommandID){