Set the new active line correctly after splitting by karaoke

This commit is contained in:
Thomas Goyne 2015-02-13 12:58:15 -08:00
parent 0ccac34cb0
commit a5c87908e1
1 changed files with 1 additions and 1 deletions

View File

@ -1081,7 +1081,7 @@ struct edit_line_split_by_karaoke final : public validate_sel_nonempty {
AssDialogue *new_active = c->selectionController->GetActiveLine();
if (!new_sel.count(c->selectionController->GetActiveLine()))
new_active = *sel.begin();
new_active = *new_sel.begin();
c->selectionController->SetSelectionAndActive(std::move(new_sel), new_active);
}
};