Properly track modification status due to changes in merge or merge source.

This commit is contained in:
Jim Evins
2016-05-15 14:26:03 -04:00
parent 003641b8f2
commit a30af8eeab
3 changed files with 66 additions and 64 deletions
+4
View File
@@ -130,6 +130,8 @@ bool File::save( MainWindow *window )
}
XmlLabelCreator::writeFile( window->model(), window->model()->fileName() );
window->model()->clearModified();
return true;
}
@@ -170,6 +172,8 @@ bool File::saveAs( MainWindow *window )
XmlLabelCreator::writeFile( window->model(), fileName );
window->model()->setFileName( fileName );
window->model()->clearModified();
return true;
}