IOWindow: append new text at the end by default

This fixes https://dolp.in/i11026.
This commit is contained in:
mazes-80 2018-09-03 18:03:26 +02:00 committed by Tillmann Karras
parent e630218587
commit eae36399dc
1 changed files with 1 additions and 0 deletions

View File

@ -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);