From: vsv Date: Wed, 21 Mar 2018 14:04:51 +0000 (+0300) Subject: Issue #2457: Provide translation of Filling messages. Clear messages after operation... X-Git-Tag: V8_5_0rc2~8^2~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2778230033d7d7f52cfbacf960bb761675160afb;p=modules%2Fshaper.git Issue #2457: Provide translation of Filling messages. Clear messages after operation finish. --- diff --git a/src/BuildPlugin/BuildPlugin_msg_en.ts b/src/BuildPlugin/BuildPlugin_msg_en.ts index 6405e316e..63c5cc321 100644 --- a/src/BuildPlugin/BuildPlugin_msg_en.ts +++ b/src/BuildPlugin/BuildPlugin_msg_en.ts @@ -439,4 +439,11 @@ Selected shape is in the local selection. Only global selection is allowed. + + Filling:GeomValidators_MinObjectsSelected + + Error: Attribute "%1" should contain at least %2 items. + Segments and wires list should contain at least 2 items + + diff --git a/src/XGUI/XGUI_OperationMgr.cpp b/src/XGUI/XGUI_OperationMgr.cpp index 3eae6f22d..03b605612 100644 --- a/src/XGUI/XGUI_OperationMgr.cpp +++ b/src/XGUI/XGUI_OperationMgr.cpp @@ -550,6 +550,8 @@ void XGUI_OperationMgr::onBeforeOperationAborted() void XGUI_OperationMgr::onOperationAborted() { ModuleBase_Operation* aSenderOperation = dynamic_cast(sender()); + XGUI_Workshop* aWorkshop = XGUI_Tools::workshop(myWorkshop); + aWorkshop->setStatusBarMessage(""); emit operationAborted(aSenderOperation); }