diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-03-07 08:56:58 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-03-07 08:56:58 (GMT) |
commit | ca622c6919248a9b15550d3116d3b094f88dd1fa (patch) | |
tree | 042bb37259d9f8c30d5fb71ba9481d9421de974e /tools/designer/src/components/formeditor | |
parent | 2525432106823ff3df7f6bb2d44c0a376356a1a8 (diff) | |
download | Qt-ca622c6919248a9b15550d3116d3b094f88dd1fa.zip Qt-ca622c6919248a9b15550d3116d3b094f88dd1fa.tar.gz Qt-ca622c6919248a9b15550d3116d3b094f88dd1fa.tar.bz2 |
Designer: Set dirty correctly in case resource paths were changed.
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
Task-number: QTBUG-17918
Diffstat (limited to 'tools/designer/src/components/formeditor')
-rw-r--r-- | tools/designer/src/components/formeditor/qdesigner_resource.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/designer/src/components/formeditor/qdesigner_resource.cpp b/tools/designer/src/components/formeditor/qdesigner_resource.cpp index 0426b8c..714a556 100644 --- a/tools/designer/src/components/formeditor/qdesigner_resource.cpp +++ b/tools/designer/src/components/formeditor/qdesigner_resource.cpp @@ -2278,6 +2278,7 @@ void QDesignerResource::createResources(DomResources *resources) path = core()->dialogGui()->getOpenFileName(dialogParent, fileDialogTitle, fi.absolutePath(), fileDialogPattern); if (path.isEmpty()) break; + m_formWindow->setProperty("_q_resourcepathchanged", QVariant(true)); } else { break; } |