diff options
Diffstat (limited to 'src/designer/src/uitools/quiloader.cpp')
-rw-r--r-- | src/designer/src/uitools/quiloader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/designer/src/uitools/quiloader.cpp b/src/designer/src/uitools/quiloader.cpp index e0ba98a1e..a06a4b1fe 100644 --- a/src/designer/src/uitools/quiloader.cpp +++ b/src/designer/src/uitools/quiloader.cpp @@ -450,7 +450,8 @@ void FormBuilderPrivate::applyProperties(QObject *o, const QList<DomProperty*> & o->setProperty(dynname, QVariant::fromValue(strVal)); anyTrs = trEnabled; } - o->setProperty(name, text); + if (p->elementString()->text() != text) + o->setProperty(name, text); } if (anyTrs) o->installEventFilter(m_trwatch); |