summaryrefslogtreecommitdiffstats
path: root/kde/patch/plasma5-nm/plasma5-nm_KDEBUG_423093.patch
blob: 53ea61355e28b3cfe75a1d29c66ba806c1b39d0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 271332cfc19ede398854113d037abfb35503179f Mon Sep 17 00:00:00 2001
From: Nate Graham <nate@kde.org>
Date: Thu, 18 Jun 2020 15:34:40 +0000
Subject: [PATCH] [WIP] [applet] Fix inline password field component not
 working properly

BUG: 423093
FIXED-IN: 5.20
---
 applet/contents/ui/ConnectionItem.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/applet/contents/ui/ConnectionItem.qml b/applet/contents/ui/ConnectionItem.qml
index 98240928..06c7ab25 100644
--- a/applet/contents/ui/ConnectionItem.qml
+++ b/applet/contents/ui/ConnectionItem.qml
@@ -231,8 +231,8 @@ PlasmaExtras.ExpandableListItem {
                 if (!predictableWirelessPassword && !Uuid) {
                     handler.addAndActivateConnection(DevicePath, SpecificPath)
                 } else if (connectionItem.customExpandedViewContent == passwordDialogComponent) {
-                    if (passwordDialogComponent.password != "") {
-                        handler.addAndActivateConnection(DevicePath, SpecificPath, passwordDialogComponent.password)
+                    if (connectionItem.customExpandedViewContentItem.password != "") {
+                        handler.addAndActivateConnection(DevicePath, SpecificPath, connectionItem.customExpandedViewContentItem.password)
                         connectionItem.customExpandedViewContent = detailsComponent
                         connectionItem.collapse()
                     } else {
-- 
2.27.0