From: nds Date: Thu, 6 Jul 2017 08:50:46 +0000 (+0300) Subject: #2214 Show only must not make zoom fit all : we should not flush redisplay signal... X-Git-Tag: V_2.7.2RC~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=56aad276ca5f59258c71ae83e7087017732a9959;p=modules%2Fshaper.git #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. --- 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();