From bb72ec980e422c67ae4f9c710026f421e8b91b95 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 28 Sep 2011 19:50:32 +0000 Subject: [PATCH] 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. --- aegisub/src/subs_edit_box.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/src/subs_edit_box.cpp b/aegisub/src/subs_edit_box.cpp index 971307466..58ca1bf04 100644 --- a/aegisub/src/subs_edit_box.cpp +++ b/aegisub/src/subs_edit_box.cpp @@ -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(); } }