fixed urgent bug that irreparably deleted sequences

This commit is contained in:
itsmattkc
2018-11-05 17:59:29 +11:00
parent 74df34cd76
commit e342294917
12 changed files with 104 additions and 56 deletions
+1 -1
View File
@@ -355,7 +355,7 @@ AddMediaCommand::~AddMediaCommand() {
}
void AddMediaCommand::undo() {
if (parent == NULL) {
if (parent == NULL) {
panel_project->source_table->takeTopLevelItem(panel_project->source_table->indexOfTopLevelItem(item));
} else {
parent->removeChild(item);