From: nds Date: Sun, 10 Dec 2017 08:39:02 +0000 (+0300) Subject: Minor code correction: undo/redo unification, show hide faces panel in debug, do... X-Git-Tag: V_2.10.0RC~66 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=72a46e925d6709ff80de76733f29c32bf48569cc;p=modules%2Fshaper.git Minor code correction: undo/redo unification, show hide faces panel in debug, do not reset hide faces panel by abort operation (there are no modifications in model on selection) --- diff --git a/src/XGUI/XGUI_WorkshopListener.cpp b/src/XGUI/XGUI_WorkshopListener.cpp index 218058a69..fd5c11630 100755 --- a/src/XGUI/XGUI_WorkshopListener.cpp +++ b/src/XGUI/XGUI_WorkshopListener.cpp @@ -161,8 +161,8 @@ void XGUI_WorkshopListener::processEvent(const std::shared_ptr& if (aWidgetSelector) workshop()->selector()->setSelected(aWidgetSelector->getAttributeSelection()); } - } else if (theMessage->eventID() == Events_Loop::eventByName("FinishOperation") || - theMessage->eventID() == Events_Loop::eventByName("AbortOperation")) + } else if (theMessage->eventID() == Events_Loop::eventByName("FinishOperation")/* || + theMessage->eventID() == Events_Loop::eventByName("AbortOperation")*/) workshop()->facesPanel()->reset(false); // do not flush redisplay, it is flushed after event //Update property panel on corresponding message. If there is no current operation (no