Actually select the new line when a new dialogue line is added due to the user switching to the next line from the edit box

Originally committed to SVN as r5652.
This commit is contained in:
Thomas Goyne 2011-09-28 19:50:32 +00:00
parent 94998f4283
commit bb72ec980e
1 changed files with 1 additions and 0 deletions

View File

@ -463,6 +463,7 @@ void SubsEditBox::NextLine() {
entryIter pos = find(c->ass->Line.begin(), c->ass->Line.end(), line);
c->ass->Line.insert(++pos, newline);
c->ass->Commit(_("line insertion"), AssFile::COMMIT_DIAG_ADDREM);
c->selectionController->NextLine();
}
}