Fix crash when deleting the last dialogue line from automation

This commit is contained in:
Thomas Goyne 2015-01-25 19:22:47 -08:00
parent 0080f3ad39
commit 79fb5cb3fe
1 changed files with 1 additions and 1 deletions

View File

@ -820,7 +820,7 @@ namespace {
++prev;
++it;
}
if (row != prev) break;
if (it == c->ass->Events.end()) break;
new_sel.insert(&*it);
if (row == original_active)
new_active = &*it;