mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-25 11:25:48 -05:00
[localeq] remove obsolete vars & comments
set index in i18n.qml to -1, old settings were just for reading from the bogus model current model uses strings, so index fails to read from it. This fixes cala crashing on loading i18n.qml
This commit is contained in:
parent
11482559ad
commit
d114c383fa
2 changed files with 2 additions and 6 deletions
|
@ -74,7 +74,7 @@ Item {
|
||||||
|
|
||||||
model: config.supportedLocales
|
model: config.supportedLocales
|
||||||
|
|
||||||
currentIndex: 1
|
currentIndex: -1
|
||||||
highlight: Rectangle {
|
highlight: Rectangle {
|
||||||
color: Kirigami.Theme.highlightColor
|
color: Kirigami.Theme.highlightColor
|
||||||
}
|
}
|
||||||
|
@ -133,10 +133,9 @@ Item {
|
||||||
width: 180; height: 200
|
width: 180; height: 200
|
||||||
focus: true
|
focus: true
|
||||||
|
|
||||||
// bogus entries, need to come from Locale config
|
|
||||||
model: config.supportedLocales
|
model: config.supportedLocales
|
||||||
|
|
||||||
currentIndex: 2
|
currentIndex: -1
|
||||||
highlight: Rectangle {
|
highlight: Rectangle {
|
||||||
color: Kirigami.Theme.highlightColor
|
color: Kirigami.Theme.highlightColor
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,9 +29,6 @@ Page {
|
||||||
width: 800
|
width: 800
|
||||||
height: 550
|
height: 550
|
||||||
|
|
||||||
property var confLang: "American English"
|
|
||||||
property var confLocale: "Nederland"
|
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: image
|
id: image
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
Loading…
Add table
Reference in a new issue