mirror of https://github.com/odrling/Aegisub
Fix crash when deleting the last dialogue line from automation
This commit is contained in:
parent
0080f3ad39
commit
79fb5cb3fe
|
@ -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 New Issue