diff --git a/Modules/Panels/Settings/Tabs/ColorScheme/TemplatesSubTab.qml b/Modules/Panels/Settings/Tabs/ColorScheme/TemplatesSubTab.qml index f69329867..8dd0dd169 100644 --- a/Modules/Panels/Settings/Tabs/ColorScheme/TemplatesSubTab.qml +++ b/Modules/Panels/Settings/Tabs/ColorScheme/TemplatesSubTab.qml @@ -13,16 +13,17 @@ ColumnLayout { spacing: Style.marginL Layout.fillWidth: true + // Helper to format path description + function getDesc(fallbackPath) { + return I18n.tr("panels.color-scheme.templates-write-path", { + "filepath": fallbackPath + }); + } + // Build a combined list of all available templates from TemplateRegistry, sorted alphabetically readonly property var allTemplates: { var templates = []; - // Helper to format path description - function getDesc(fallbackPath) { - return I18n.tr("panels.color-scheme.templates-write-path", { - "filepath": fallbackPath - }); - } // Add terminals with category "terminal" for (var i = 0; i < TemplateRegistry.terminals.length; i++) {