Qt Designer: Clear undo stack when reloading form.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Tue, 17 Dec 2013 10:23:42 +0000 (11:23 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 18 Dec 2013 11:40:34 +0000 (12:40 +0100)
commit2bb268a8866e8649006aa1d145797cca8e02e009
treee8eb137ec8d7da9097fb4133ae04b991cc112a8b
parent2be2eb83ff0a1a66a6d3500cf1f802d291c97d42
Qt Designer: Clear undo stack when reloading form.

Task-number: QTCREATORBUG-11119
Change-Id: I4ad9a4ac16f17fec292264896b82f881a4ca5a7d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
src/designer/src/components/formeditor/formwindow.cpp
src/designer/src/components/formeditor/qdesignerundostack.cpp
src/designer/src/components/formeditor/qdesignerundostack.h