From 56aad276ca5f59258c71ae83e7087017732a9959 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 6 Jul 2017 11:50:46 +0300 Subject: [PATCH] #2214 Show only must not make zoom fit all : we should not flush redisplay signal in order to do not lose information that there where some displayed objects before to do not perform fit all if some were displayed. --- src/XGUI/XGUI_Workshop.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index d2935f1eb..653b8b2f4 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -2052,7 +2052,6 @@ void XGUI_Workshop::showOnlyObjects(const QObjectPtrList& theList) if (module()->canEraseObject(aObj)) aObj->setDisplayed(false); } - Events_Loop::loop()->flush(Events_Loop::eventByName(EVENT_OBJECT_TO_REDISPLAY)); #ifdef HAVE_SALOME //issue #2159 Hide all incomplete behavior viewer()->eraseAll(); -- 2.39.2