From 010a2c4eeafc393e6320b98e3ad8268c460d5853 Mon Sep 17 00:00:00 2001 From: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com> Date: Thu, 4 Jul 2024 17:16:19 -0400 Subject: [PATCH] linkdevicedialog: fix what seems to have been a copy-paste error The "success" property of the wrong component was being set in the "on-link-device" signal handler. This commit fixes that. Gitlab: #1788 Change-Id: I99c9abbfa31ea9ea6e7828dbbed0a21081f8be19 --- src/app/settingsview/components/LinkDeviceDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/settingsview/components/LinkDeviceDialog.qml b/src/app/settingsview/components/LinkDeviceDialog.qml index 78eb7188d..43e9806c8 100644 --- a/src/app/settingsview/components/LinkDeviceDialog.qml +++ b/src/app/settingsview/components/LinkDeviceDialog.qml @@ -53,7 +53,7 @@ BaseModalDialog { pinRectangle.visible = true exportedPIN.text = pin; } else { - pinRectangle.success = false; + infoLabel.success = false; infoLabel.visible = true; switch (status) { case NameDirectory.ExportOnRingStatus.WRONG_PASSWORD: -- GitLab