From dcc8b5ea7ff2d2ab0edab16bcf59cb6065b1249f Mon Sep 17 00:00:00 2001
From: Eike Ziller <eike.ziller@theqtcompany.com>
Date: Fri, 31 Oct 2014 15:15:47 +0100
Subject: [PATCH] Widget Designer: Fix modified state indicator

It failed to update internal state when saving.

Change-Id: I0b260e55dc50fa39958914a0d4fa3f5e73fe1c27
Task-number: QTCREATORBUG-12279
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
---
 src/plugins/designer/formwindowfile.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/designer/formwindowfile.cpp b/src/plugins/designer/formwindowfile.cpp
index 09fbc0ae717..0719a91f41f 100644
--- a/src/plugins/designer/formwindowfile.cpp
+++ b/src/plugins/designer/formwindowfile.cpp
@@ -96,7 +96,7 @@ bool FormWindowFile::save(QString *errorString, const QString &name, bool autoSa
 
     m_formWindow->setDirty(false);
     setFilePath(fi.absoluteFilePath());
-    emit changed();
+    updateIsModified();
 
     return true;
 }
-- 
GitLab