From f42ecc170b17ecdd2af7a39827cf1a7af94d937c Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 22 Jul 2005 12:52:40 +0000 Subject: [PATCH] IPAL9326: Regression of the tables popups --- src/VISUGUI/VisuGUI.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 1fe31836..65074667 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2292,9 +2292,9 @@ createPopupMenus() mgr->insert( action( VISU_CLEAR_CONTAINER ), -1, -1, -1 ); // table commands - mgr->insert( action( VISU_SHOW_TABLE ), -1, -1, -1 ); // show table - mgr->insert( action( VISU_CREATE_CURVES ), -1, -1, -1 ); // create curves - mgr->insert( action( VISU_EXPORT_TABLE ), -1, -1, -1 ); // export table + //mgr->insert( action( VISU_SHOW_TABLE ), -1, -1, -1 ); // show table + //mgr->insert( action( VISU_CREATE_CURVES ), -1, -1, -1 ); // create curves + //mgr->insert( action( VISU_EXPORT_TABLE ), -1, -1, -1 ); // export table mgr->insert( separator(), -1, -1, -1 ); @@ -2376,10 +2376,10 @@ createPopupMenus() mgr->setRule( action( VISU_STREAM_LINES ), aRule, true ); // table commands - aRule = aSel_One_ObjBr + " and type='VISU::TTABLE'"; - mgr->setRule( action( VISU_SHOW_TABLE ), aRule, true ); - mgr->setRule( action( VISU_CREATE_CURVES ), aRule, true ); - mgr->setRule( action( VISU_EXPORT_TABLE ), aRule, true ); + //aRule = aSel_One_ObjBr + " and type='VISU::TTABLE'"; + //mgr->setRule( action( VISU_SHOW_TABLE ), aRule, true ); + //mgr->setRule( action( VISU_CREATE_CURVES ), aRule, true ); + //mgr->setRule( action( VISU_EXPORT_TABLE ), aRule, true ); aRule = "(" + aSel_Some_ObjBr + " and ((type='VISU::TTABLE' and nbChildren>0) or" " ($type in {'VISU::TCURVE' 'VISU::TCONTAINER'}))" -- 2.39.2