Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #2948: Synchronize selection for filters controls
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_Operation.cpp
diff --git
a/src/ModuleBase/ModuleBase_Operation.cpp
b/src/ModuleBase/ModuleBase_Operation.cpp
index fc474be1d7175d3ec8c3be471fc64d79e35e3582..b4f4a38b05296e9a20a94d30cabc41198ee4a188 100644
(file)
--- a/
src/ModuleBase/ModuleBase_Operation.cpp
+++ b/
src/ModuleBase/ModuleBase_Operation.cpp
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-201
7
CEA/DEN, EDF R&D
+// Copyright (C) 2014-201
9
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-12,10
+12,9
@@
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
//
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#include "ModuleBase_Operation.h"
//
#include "ModuleBase_Operation.h"
@@
-133,6
+132,10
@@
void ModuleBase_Operation::abort()
bool ModuleBase_Operation::commit()
{
if (canBeCommitted()) {
bool ModuleBase_Operation::commit()
{
if (canBeCommitted()) {
+ ModuleBase_IPropertyPanel* aPanel = propertyPanel();
+ if (aPanel)
+ aPanel->onAcceptData();
+
SessionPtr aMgr = ModelAPI_Session::get();
commitOperation();
SessionPtr aMgr = ModelAPI_Session::get();
commitOperation();