diff --git a/src/widgets/settingspages/appearancepage.cpp b/src/widgets/settingspages/appearancepage.cpp index e17dd2ac2..31fffdfe0 100644 --- a/src/widgets/settingspages/appearancepage.cpp +++ b/src/widgets/settingspages/appearancepage.cpp @@ -230,6 +230,8 @@ QLayout *AppearancePage::createFontChanger() QObject::connect(button, &QPushButton::clicked, [=]() { QFontDialog dialog(app->fonts->getFont(singletons::FontManager::ChatMedium, 1.)); + dialog.setWindowFlag(Qt::WindowStaysOnTopHint); + dialog.connect(&dialog, &QFontDialog::fontSelected, [=](const QFont &font) { app->fonts->chatFontFamily = font.family().toStdString(); app->fonts->chatFontSize = font.pointSize();