From: mzn Date: Wed, 9 Feb 2005 08:08:38 +0000 (+0000) Subject: Fix for PAL8119. X-Git-Tag: V2_2_0~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9609aa12152ff437141aa83ed502fd1478b353c0;p=modules%2Fvisu.git Fix for PAL8119. --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index c9be00a3..aff74e33 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -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){