From f12a545be0015a4cb040d880ba18ff68ac057c73 Mon Sep 17 00:00:00 2001 From: darklithium Date: Wed, 3 Jun 2026 01:39:46 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Settings.qml=20mit=20Beschreibungen=20un?= =?UTF-8?q?d=20korrigierten=20Handlern=20-=20ComboBox:=20formatierte=20Lis?= =?UTF-8?q?te=20mit=20Beschreibungen=20und=20Spr=C3=BCchezahl=20-=20onActi?= =?UTF-8?q?vated:=20Sofortige=20Aktualisierung=20nach=20Listenwechsel=20vi?= =?UTF-8?q?a=20root.reloadFortune()=20-=20onValueChanged:=20Direkte=20Volu?= =?UTF-8?q?me-Aktualisierung=20via=20root.setMusicVolume/root.setCrackVolu?= =?UTF-8?q?me=20-=20Auswahl-Logik:=20Korrektes=20Parsen=20des=20Listenname?= =?UTF-8?q?ns=20aus=20formatiertem=20String=20-=20Spacer:=20Header-Abstand?= =?UTF-8?q?=20f=C3=BCr=20bessere=20Sichtbarkeit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- qml/Settings.qml | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/qml/Settings.qml b/qml/Settings.qml index b89fd7e..136e238 100644 --- a/qml/Settings.qml +++ b/qml/Settings.qml @@ -36,7 +36,7 @@ Page { musicVolumeSlider.value = musicVolume; crackVolumeSlider.value = crackVolume; - // Spruchlisten ComboBox füllen (mit Beschreibungen und Anzahl) + // Spruchlisten ComboBox füllen var lists = py.call_sync("fortunecookie.get_fortune_lists_with_description", []); fortuneListCombo.model = lists; @@ -58,15 +58,6 @@ Page { } } - // SPRUCHLISTEN-AUSWAHL - // ============================================================ - - Label { - text: "Spruchliste:" - Layout.fillWidth: true - fontSize: "large" - } -======= ColumnLayout { anchors.fill: parent anchors.margins: units.gu(2) @@ -82,14 +73,6 @@ Page { // SPRUCHLISTEN-AUSWAHL // ============================================================ - Label { - text: "Spruchliste:" - Layout.fillWidth: true - fontSize: "large" - }============================================================ - // SPRUCHLISTEN-AUSWAHL - // ============================================================ - Label { text: "Spruchliste:" Layout.fillWidth: true @@ -106,7 +89,7 @@ Page { // Extrahiere den Listennamen (Teil vor " - ") var newList = newListFull.split(" - ")[0]; py.call("fortunecookie.set_fortune_list", [newList], function() { - console.log("Spruchliste gewählt: " + newList); + console.log("Spruchliste gewaehlt: " + newList); root.reloadFortune(); }); }