added keyframe button, moved to windowModified

This commit is contained in:
itsmattkc
2018-10-07 11:25:08 +11:00
parent 4de7bcf44b
commit 8e7ca3652f
10 changed files with 169 additions and 84 deletions
+2 -2
View File
@@ -333,7 +333,7 @@ void MainWindow::on_action_Paste_triggered()
}
void MainWindow::autorecover_interval() {
if (project_changed) {
if (isWindowModified()) {
panel_project->save_project(true);
qDebug() << "[INFO] Auto-recovery project saved";
}
@@ -362,7 +362,7 @@ bool MainWindow::save_project() {
}
bool MainWindow::can_close_project() {
if (project_changed) {
if (isWindowModified()) {
QMessageBox* m = new QMessageBox(
QMessageBox::Question,
"Unsaved Project",