From 6f7b81e4b5a23078b3ca550b3cfdd048fabbff9b Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 22 Jul 2005 10:38:38 +0000 Subject: [PATCH] IPAL9324: update Object Browser after Explore MED file; IPAL9374: provide Sweep in popup of all presentations --- 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 ced02edf..1fe31836 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -231,7 +231,8 @@ OnExploreMEDFile() std::string aStudyName = aStudy->Name(); aGen->readStructFileWithFieldType(aFileInfo.filePath(),aStudyName.c_str()); application()->putInfo(aFileInfo.filePath()+tr("INF_DONE")); - updateObjBrowser(); + //updateObjBrowser(); + getApp()->updateObjectBrowser(true); // as need to update MED tree } } @@ -2464,7 +2465,7 @@ createPopupMenus() aRule = "selcount=1 and type='VISU::TCUTLINES' and nbNamedChildren=0"; mgr->setRule( action( VISU_CREATE_TABLE ), aRule, true ); - aRule = "selcount=1 and type='VISU::TSCALARMAP'"; + aRule = "selcount=1 and ($type in {" + aPrsAll + "})"; mgr->setRule( action( VISU_SWEEP ), aRule, true ); // Selection info popup item -- 2.39.2