From eccb307cd39f914718eb2d727ea8e7499aeedf33 Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 27 Jun 2005 06:56:41 +0000 Subject: [PATCH] Bug 9293: Popup menu correction --- src/VISUGUI/VisuGUI.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index fa406592..4ccc0765 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2197,8 +2197,9 @@ createPopupMenus() // View parameters mgr->insert ( action( VISU_VIEW_PARAMS ), -1, -1, -1 ); // save view params - //jfa tmp:mgr->setRule( action( 4046 ), "(client='VTKViewer' and selcount=0) or (selcount=1 and type='VISU::TVIEW3D')", true ); - mgr->setRule( action( VISU_VIEW_PARAMS ), "selcount=0", true ); //jfa tmp + //jfa tmp:mgr->setRule( action( 4046 ),"(client='VTKViewer' and selcount=0) or (selcount=1 and type='VISU::TVIEW3D')", true ); + + mgr->setRule( action( VISU_VIEW_PARAMS ), "client='VTKViewer' and selcount=0", true ); //jfa tmp mgr->insert ( action( VISU_RESTORE_VIEW_PARAMS ), -1, -1, -1 ); // restore view params mgr->setRule( action( VISU_RESTORE_VIEW_PARAMS ), "selcount=1 and type='VISU::TVIEW3D'", true ); mgr->insert ( action( VISU_DELETE_VIEW_PARAMS ), -1, -1, -1 ); // delete view params -- 2.39.2