From eae36399dce85f2f631593b1d82fdd9853b24b04 Mon Sep 17 00:00:00 2001 From: mazes-80 Date: Mon, 3 Sep 2018 18:03:26 +0200 Subject: [PATCH] IOWindow: append new text at the end by default This fixes https://dolp.in/i11026. --- Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp b/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp index 8a60e574aa..2a0caef151 100644 --- a/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp @@ -118,6 +118,7 @@ void IOWindow::CreateMainLayout() void IOWindow::Update() { m_expression_text->setPlainText(QString::fromStdString(m_reference->GetExpression())); + m_expression_text->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor); m_range_spinbox->setValue(m_reference->range * SLIDER_TICK_COUNT); m_range_slider->setValue(m_reference->range * SLIDER_TICK_COUNT);