undos now save the modified flag state

This commit is contained in:
itsmattkc
2018-08-07 15:01:20 +10:00
parent 984a5ed799
commit b29462e68b
11 changed files with 182 additions and 168 deletions
+2 -6
View File
@@ -155,9 +155,7 @@ void Project::new_sequence(TimelineAction *ta, Sequence *s, bool open, QTreeWidg
parent->addChild(item);
}
if (open) set_sequence(s);
}
project_changed = true;
}
}
void Project::start_preview_generator(QTreeWidgetItem* item, Media* media, bool replacing) {
@@ -316,9 +314,7 @@ void Project::delete_selected_media() {
// redraw clips
if (redraw) {
panel_timeline->redraw_all_clips(true);
}
project_changed = true;
}
} else {
delete ta;
}