From 055b47e7a1e52ad569e419ffec5bbc9233e53d87 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 25 Jul 2019 17:23:09 +0300 Subject: [PATCH] Fix non synchronous show/hide color scale with step object display --- src/XGUI/XGUI_ObjectsBrowser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/XGUI/XGUI_ObjectsBrowser.cpp b/src/XGUI/XGUI_ObjectsBrowser.cpp index a83a67251..df92b7e2a 100644 --- a/src/XGUI/XGUI_ObjectsBrowser.cpp +++ b/src/XGUI/XGUI_ObjectsBrowser.cpp @@ -251,11 +251,11 @@ void XGUI_DataTree::processEyeClick(const QModelIndex& theIndex) // Update list of selected objects because this event happens after // selection event in object browser + Events_Loop::loop()->flush(Events_Loop::eventByName(EVENT_OBJECT_TO_REDISPLAY)); + update(theIndex); if (aObjBrowser) { aObjBrowser->onSelectionChanged(); } - Events_Loop::loop()->flush(Events_Loop::eventByName(EVENT_OBJECT_TO_REDISPLAY)); - update(theIndex); } } -- 2.39.2