Merge pull request #14405 from cristian64/restore_log_font_current_index

DolphinQt: Restore log font current index accurately.
This commit is contained in:
Jordan Woyak 2026-02-20 17:26:07 -06:00 committed by GitHub
commit d939b306c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -182,8 +182,7 @@ void LogWidget::LoadSettings()
Qt::ScrollBarAlwaysOn);
// Log - Font Selection
// Currently "Debugger Font" is not supported as there is no Qt Debugger, defaulting to Monospace
m_log_font->setCurrentIndex(std::min(settings.value(QStringLiteral("logging/font")).toInt(), 1));
m_log_font->setCurrentIndex(settings.value(QStringLiteral("logging/font")).toInt());
UpdateFont();
}