X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_OperationFeature.cpp;h=108f1df1e7a0f774149bc27ea964b14a29c499b2;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=ab66c3bf621a592a9dc6a1e4f604d40e968c26eb;hpb=46c0759fa291dad10b713cf02b341d6e9e60c1a4;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_OperationFeature.cpp b/src/ModuleBase/ModuleBase_OperationFeature.cpp index ab66c3bf6..108f1df1e 100644 --- a/src/ModuleBase/ModuleBase_OperationFeature.cpp +++ b/src/ModuleBase/ModuleBase_OperationFeature.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2020 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -278,6 +278,12 @@ void ModuleBase_OperationFeature::abort() new Events_Message(Events_Loop::eventByName(EVENT_UPDATE_VIEWER_BLOCKED))); Events_Loop::loop()->send(aMsg); + if (myFeature.get()) + { + static const Events_ID anEvent = Events_Loop::eventByName(EVENT_VISUAL_ATTRIBUTES); + ModelAPI_EventCreator::get()->sendUpdated(myFeature, anEvent); + } + // the widgets of property panel should not process any events come from data mode // after abort clicked. Some signal such as redisplay/create influence on content // of the object browser and viewer context. Therefore it influence to the current