Form editor should trigger the save button properly now.

This commit is contained in:
dfighter1985 2014-09-03 17:22:09 +02:00
parent e87962454f
commit b851888905

View file

@ -310,9 +310,9 @@ namespace GeorgesQt
void CGeorgesTreeViewDialog::modifiedFile( ) void CGeorgesTreeViewDialog::modifiedFile( )
{ {
if (!m_modified) if (!isModified())
{ {
m_modified = true; setModified( true );
setWindowTitle(windowTitle() + "*"); setWindowTitle(windowTitle() + "*");
} }
Q_EMIT modified(); Q_EMIT modified();
@ -476,6 +476,8 @@ namespace GeorgesQt
m_ui.treeView->setCurrentIndex( idx ); m_ui.treeView->setCurrentIndex( idx );
log( name + " resized = " + QString::number( size ) ); log( name + " resized = " + QString::number( size ) );
modifiedFile();
} }
void CGeorgesTreeViewDialog::onAppendArray() void CGeorgesTreeViewDialog::onAppendArray()