File tree Expand file tree Collapse file tree
src/plasmoid/package/contents/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -586,7 +586,6 @@ ColumnLayout {
586586 if (settings) {
587587 settings .destroy ();
588588 }
589- // settings = null
590589 }
591590
592591 function saveCustomColorsList () {
@@ -1253,24 +1252,6 @@ ColumnLayout {
12531252 Layout .alignment : Qt .AlignHCenter
12541253 }
12551254
1256- // RowLayout {
1257- // PlasmaComponents3.Label {
1258- // text: "Variant"
1259- // Layout.alignment: Qt.AlignLeft
1260- // }
1261- // PlasmaComponents3.ComboBox {
1262- // model: schemeVariantsModel
1263- // Layout.fillWidth: true
1264- // textRole: "text"
1265- // valueRole: "value"
1266- // currentIndex: settings.scheme_variant
1267-
1268- // onCurrentIndexChanged: {
1269- // settings.scheme_variant = model.get(currentIndex)["value"]
1270- // }
1271- // }
1272- // }
1273-
12741255 Flow {
12751256 Layout .preferredWidth : mainLayout .width
12761257 spacing: 6
@@ -2242,7 +2223,7 @@ ColumnLayout {
22422223 PlasmaComponents3 .ComboBox {
22432224 model: [" 2021" , " 2025" ]
22442225 Layout .fillWidth : true
2245- currentValue : settings .spec_version
2226+ currentIndex : indexOfValue ( settings .spec_version )
22462227 onActivated : index => {
22472228 settings .spec_version = currentText;
22482229 }
You can’t perform that action at this time.
0 commit comments