fixed crash on new project

This commit is contained in:
itsmattkc
2018-07-24 01:17:39 +01:00
parent 9cdb309528
commit 9f2c52e0c2
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -361,6 +361,7 @@ void MainWindow::on_actionProject_triggered()
undo_stack.clear();
project_url.clear();
panel_project->new_project();
panel_timeline->redraw_all_clips(false);
}
}
+1 -1
View File
@@ -450,9 +450,9 @@ void Project::clear() {
void Project::new_project() {
// clear existing project
set_sequence(NULL);
clear();
project_changed = false;
set_sequence(NULL);
}
QTreeWidgetItem* Project::find_loaded_folder_by_id(int id) {