Keep Console Font on Theme Change (#1567)

This commit is contained in:
Florian Märkl 2019-05-20 21:06:25 +02:00 committed by GitHub
parent 29aed93bc9
commit c0b359cb65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,8 @@ ConsoleWidget::ConsoleWidget(MainWindow *main, QAction *action) :
connect(ui->inputLineEdit, &QLineEdit::editingFinished, this, &ConsoleWidget::disableCompletion);
connect(Config(), SIGNAL(fontsUpdated()), this, SLOT(setupFont()));
connect(Config(), &Configuration::fontsUpdated, this, &ConsoleWidget::setupFont);
connect(Config(), &Configuration::interfaceThemeChanged, this, &ConsoleWidget::setupFont);
completer->popup()->installEventFilter(this);
}