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(); }); }