mirror of https://github.com/odrling/Aegisub
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:
parent
94998f4283
commit
bb72ec980e
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue