]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix non synchronous show/hide color scale with step object display
authorvsv <vsv@opencascade.com>
Thu, 25 Jul 2019 14:23:09 +0000 (17:23 +0300)
committervsv <vsv@opencascade.com>
Thu, 25 Jul 2019 14:23:09 +0000 (17:23 +0300)
src/XGUI/XGUI_ObjectsBrowser.cpp

index a83a67251145cd80563734a6f633f691d16ae2d6..df92b7e2add92a68463f4aefda658b1302265697 100644 (file)
@@ -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);
   }
 }