From dfdda1bb9c4533c3ffe2352db087f3edff49bb00 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Wed, 27 Aug 2014 20:25:30 +0200 Subject: [PATCH] Mark file modified even when using the context menu. --- .../src/plugins/georges_editor/georges_treeview_dialog.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp b/code/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp index 9450eeec2..4fd7e10c7 100644 --- a/code/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp +++ b/code/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp @@ -492,6 +492,8 @@ namespace GeorgesQt m_browserCtrl->clicked( idx ); log( formName + " resized = " + QString::number( size + 1 ) ); + + modifiedFile(); } void CGeorgesTreeViewDialog::onDeleteArrayEntry() @@ -509,6 +511,8 @@ namespace GeorgesQt m_browserCtrl->clicked( parent ); log( "deleted " + formName ); + + modifiedFile(); } void CGeorgesTreeViewDialog::onValueChanged( const QString &key, const QString &value ) @@ -533,6 +537,8 @@ namespace GeorgesQt QString formName = item->formName().c_str(); log( formName + " renamed = " + newName ); + + modifiedFile(); } void CGeorgesTreeViewDialog::closeEvent(QCloseEvent *event)