Merge branch 'issue-5279-console_stops_scrolling_properly_after_selection' into 'master'

issue-5279 console stops scrolling properly after selection

See merge request OpenMW/openmw!1781
pull/3226/head
psi29a 3 years ago
commit 58f77ab3ef

@ -25,6 +25,7 @@
Bug #5120: Scripted object spawning updates physics system
Bug #5192: Actor turn rate is too slow
Bug #5207: Loose summons can be present in scene
Bug #5279: Ingame console stops auto-scrolling after clicking output
Bug #5377: console does not appear after using menutest in inventory
Bug #5379: Wandering NPCs falling through cantons
Bug #5394: Windows snapping no longer works

@ -336,6 +336,7 @@ namespace MWGui
mCommandHistory.push_back(cm);
mCurrent = mCommandHistory.end();
mEditString.clear();
mHistory->setTextCursor(mHistory->getTextLength());
// Reset the command line before the command execution.
// It prevents the re-triggering of the acceptCommand() event for the same command

Loading…
Cancel
Save