Merge pull request #14405 from cristian64/restore_log_font_current_index
DolphinQt: Restore log font current index accurately.
This commit is contained in:
1 file changed
+1
-2
@@ -182,8 +182,7 @@ void LogWidget::LoadSettings()
|
|||||||
Qt::ScrollBarAlwaysOn);
|
Qt::ScrollBarAlwaysOn);
|
||||||
|
|
||||||
// Log - Font Selection
|
// Log - Font Selection
|
||||||
// Currently "Debugger Font" is not supported as there is no Qt Debugger, defaulting to Monospace
|
m_log_font->setCurrentIndex(settings.value(QStringLiteral("logging/font")).toInt());
|
||||||
m_log_font->setCurrentIndex(std::min(settings.value(QStringLiteral("logging/font")).toInt(), 1));
|
|
||||||
UpdateFont();
|
UpdateFont();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user