Skip to content

Commit

Permalink
Keep Console Font on Theme Change (#1567)
Browse files Browse the repository at this point in the history
  • Loading branch information
thestr4ng3r authored May 20, 2019
1 parent 29aed93 commit c0b359c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/widgets/ConsoleWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c0b359c

Please sign in to comment.