diff options
| author | Nippy <nippy@Beller-Mac-mini.lan> | 2026-11-08 14:37:52 +0100 |
|---|---|---|
| committer | Nippy <nippy@Beller-Mac-mini.lan> | 2026-11-08 14:37:52 +0100 |
| commit | 471c33c0fa9e52bb0d8b4093692600b35f12f1dd (patch) | |
| tree | 4d92547cf1d3ae83e894c2c56a41cc5f29bfb3b2 /raveos-calamares-module/wifi/ui/wifi.qml | |
| parent | 29e0e531d1dbee5a111f56be88494781aef300ff (diff) | |
| download | RaveOS-PKGBUILD-471c33c0fa9e52bb0d8b4093692600b35f12f1dd.tar.gz RaveOS-PKGBUILD-471c33c0fa9e52bb0d8b4093692600b35f12f1dd.zip | |
wifi fix és calamres
Diffstat (limited to 'raveos-calamares-module/wifi/ui/wifi.qml')
| -rw-r--r-- | raveos-calamares-module/wifi/ui/wifi.qml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/raveos-calamares-module/wifi/ui/wifi.qml b/raveos-calamares-module/wifi/ui/wifi.qml index e3b0b0c..493847a 100644 --- a/raveos-calamares-module/wifi/ui/wifi.qml +++ b/raveos-calamares-module/wifi/ui/wifi.qml @@ -16,7 +16,8 @@ Rectangle { property bool jelszoLatszik: false readonly property string ssid: rejtett ? ssidMezo.text : (kivalasztott ? kivalasztott.ssid : "") - readonly property bool jelszoKell: rejtett || (kivalasztott !== null && kivalasztott.secured) + readonly property bool jelszoKell: !rejtett && kivalasztott !== null && kivalasztott.secured + readonly property bool jelszoMezoLatszik: rejtett || jelszoKell function updateLanguage() { WifiModule.Translations.setLanguage(systemLocale) @@ -340,12 +341,12 @@ Rectangle { } ColumnLayout { - visible: root.jelszoKell + visible: root.jelszoMezoLatszik Layout.fillWidth: true spacing: 6 Text { - text: root.t.password + text: root.rejtett ? root.t.passwordOptional : root.t.password color: Stilus.szovegHalvany font.family: Stilus.font font.pixelSize: 12 @@ -372,7 +373,7 @@ Rectangle { return root.sikertelen = false root.csatlakozik = true - nm.connectTo(root.ssid, root.jelszoKell ? jelszoMezo.text : "") + nm.connectTo(root.ssid, root.jelszoMezoLatszik ? jelszoMezo.text : "") } background: Rectangle { color: !csatlakozGomb.enabled ? "transparent" : (csatlakozGomb.hovered ? Stilus.zoldHover : Stilus.zold) |