diff --git a/js/ui/inhibitShortcutsDialog.js b/js/ui/inhibitShortcutsDialog.js index b6f1330b2..7c3d15996 100644 --- a/js/ui/inhibitShortcutsDialog.js +++ b/js/ui/inhibitShortcutsDialog.js @@ -143,7 +143,7 @@ var InhibitShortcutsDialog = GObject.registerClass({ if (permissions[appId] === undefined) // Not found this._dialog.open(); - else if (permissions[appId] === GRANTED) + else if (permissions[appId][0] === GRANTED) this._emitResponse(DialogResponse.ALLOW); else this._emitResponse(DialogResponse.DENY);