fonts: added "System Default" entry in each combobox, to use the system one.

This commit is contained in:
Lemmy
2026-02-08 11:02:11 -05:00
parent 0455538e26
commit e43bdd238b
+9
View File
@@ -90,6 +90,15 @@ Singleton {
availableFonts.clear();
monospaceFonts.clear();
availableFonts.append({
"key": Qt.application.font.family,
"name": I18n.tr("panels.indicator.system-default")
});
monospaceFonts.append({
"key": "monospace",
"name": I18n.tr("panels.indicator.system-default")
});
for (var m = 0; m < allBatch.length; m++)
availableFonts.append(allBatch[m]);
for (var n = 0; n < monoBatch.length; n++)