[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/formeditor (silent)
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2009-04-16 19:14:45
Message-ID: 1239909285.467199.21361.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 955025 by staniek:
SVN_SILENT add {}
M +4 -2 form.cpp
--- trunk/koffice/kexi/formeditor/form.cpp #955024:955025
@@ -2903,8 +2903,9 @@
return;
}
- if (d->lastCommand && d->lastCommand->property() == "alignment")
+ if (d->lastCommand && d->lastCommand->property() == "alignment") {
d->lastCommand->setValue(valueForKeys);
+ }
else {
d->lastCommand = new PropertyCommand(*this, d->selected.first()->objectName().toLatin1(),
subwidget->property("alignment"), valueForKeys, "alignment");
@@ -2967,8 +2968,9 @@
if (prop == "layout") {
LayoutType type = Container::stringToLayoutType(value.toString());
- if (d->lastCommand && d->lastCommand->property() == "layout" && !d->isUndoing)
+ if (d->lastCommand && d->lastCommand->property() == "layout" && !d->isUndoing) {
d->lastCommand->setValue(value);
+ }
else if (!d->isUndoing) {
d->lastCommand = new LayoutPropertyCommand(*this,
d->selected.first()->objectName().toLatin1(),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic