DolphinQt: Fix "Default" and "Clear" buttons not updating the displayed extension.

This commit is contained in:
Jordan Woyak
2019-04-27 10:51:57 -05:00
parent 687907e44d
commit 74a997da65
7 changed files with 23 additions and 48 deletions

View File

@ -117,7 +117,7 @@ void IOWindow::CreateMainLayout()
void IOWindow::ConfigChanged()
{
const auto old_state = blockSignals(true);
const QSignalBlocker blocker(this);
m_expression_text->setPlainText(QString::fromStdString(m_reference->GetExpression()));
m_expression_text->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor);
@ -128,8 +128,6 @@ void IOWindow::ConfigChanged()
UpdateDeviceList();
UpdateOptionList();
blockSignals(old_state);
}
void IOWindow::ConnectWidgets()