Fix crash when deleting the last dialogue line from automation
This commit is contained in:
parent
0080f3ad39
commit
79fb5cb3fe
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue