Mark file modified even when using the context menu.

This commit is contained in:
dfighter1985 2014-08-27 20:25:30 +02:00
parent 127e0b48ef
commit 2ebc1d59ef

View file

@ -492,6 +492,8 @@ namespace GeorgesQt
m_browserCtrl->clicked( idx ); m_browserCtrl->clicked( idx );
log( formName + " resized = " + QString::number( size + 1 ) ); log( formName + " resized = " + QString::number( size + 1 ) );
modifiedFile();
} }
void CGeorgesTreeViewDialog::onDeleteArrayEntry() void CGeorgesTreeViewDialog::onDeleteArrayEntry()
@ -509,6 +511,8 @@ namespace GeorgesQt
m_browserCtrl->clicked( parent ); m_browserCtrl->clicked( parent );
log( "deleted " + formName ); log( "deleted " + formName );
modifiedFile();
} }
void CGeorgesTreeViewDialog::onValueChanged( const QString &key, const QString &value ) void CGeorgesTreeViewDialog::onValueChanged( const QString &key, const QString &value )
@ -533,6 +537,8 @@ namespace GeorgesQt
QString formName = item->formName().c_str(); QString formName = item->formName().c_str();
log( formName + " renamed = " + newName ); log( formName + " renamed = " + newName );
modifiedFile();
} }
void CGeorgesTreeViewDialog::closeEvent(QCloseEvent *event) void CGeorgesTreeViewDialog::closeEvent(QCloseEvent *event)