Skip to content

Commit

Permalink
Fix authentication dialog
Browse files Browse the repository at this point in the history
Correct a typo.
  • Loading branch information
plfiorini committed Jun 30, 2023
1 parent ddc5555 commit 2dba6a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/helper/qml/AuthDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Window {
title: qsTr("Authentication required")

focus: true
visible: logoutDialogWindow.visible
visible: authDialogWindow.visible

onOpened: {
// Give focus to the password field
Expand All @@ -68,11 +68,11 @@ Window {

onAccepted: {
policyKitAgent.authenticate(passwordInput.text);
logoutDialogWindow.hide();
authDialogWindow.hide();
}
onRejected: {
policyKitAgent.abortAuthentication();
logoutDialogWindow.hide();
authDialogWindow.hide();
}

ColumnLayout {
Expand Down

0 comments on commit 2dba6a8

Please sign in to comment.