summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumlvaluespecificationactionobject.cpp
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-10-29 08:42:34 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-10-29 12:38:52 +0100
commit81cb4927b06b9c50c1be1107f04bb0877112cb6c (patch)
treec7cd9e13ca85d1b4818a2d4d90d10123e7f3f609 /src/uml/qobjects/qumlvaluespecificationactionobject.cpp
parentc9af31e57a3977ea74bf9d9196e187c751a676ce (diff)
Fix reset of boolean properties
Change-Id: I4dbf905a4aa7e0df53a4e894748d40c77e9fe787 Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qobjects/qumlvaluespecificationactionobject.cpp')
-rw-r--r--src/uml/qobjects/qumlvaluespecificationactionobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uml/qobjects/qumlvaluespecificationactionobject.cpp b/src/uml/qobjects/qumlvaluespecificationactionobject.cpp
index cd3543e4..8446f32e 100644
--- a/src/uml/qobjects/qumlvaluespecificationactionobject.cpp
+++ b/src/uml/qobjects/qumlvaluespecificationactionobject.cpp
@@ -434,7 +434,7 @@ void QUmlValueSpecificationActionObject::unsetLeaf()
{
Q_D(QModelingObject);
setLeaf(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("leaf"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isLeaf"));
}
void QUmlValueSpecificationActionObject::addRedefinedElement(QObject *redefinedElement)
@@ -567,7 +567,7 @@ void QUmlValueSpecificationActionObject::unsetLocallyReentrant()
{
Q_D(QModelingObject);
setLocallyReentrant(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("locallyReentrant"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isLocallyReentrant"));
}
void QUmlValueSpecificationActionObject::addLocalPostcondition(QObject *localPostcondition)