From 471c33c0fa9e52bb0d8b4093692600b35f12f1dd Mon Sep 17 00:00:00 2001 From: Nippy Date: Sun, 8 Nov 2026 14:37:52 +0100 Subject: wifi fix és calamres MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- raveos-calamares-module/wifi/ui/wifi.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'raveos-calamares-module/wifi/ui/wifi.qml') 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) -- cgit v1.3