From 72223977c20fb6409561a220213ba6d572fdd2b5 Mon Sep 17 00:00:00 2001 From: Totto16 Date: Thu, 28 Mar 2024 17:54:45 +0100 Subject: [PATCH] modalDialog: Finish cleanup in close() timestamp is unused and removed after cleanup in commit 3574c5246a29dc2ad5b9dbc629e4e7647fbc41bf, this fixes this in the missed parts Part-of: --- js/ui/modalDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js index 34cda9364..dbb3fe988 100644 --- a/js/ui/modalDialog.js +++ b/js/ui/modalDialog.js @@ -191,12 +191,12 @@ export const ModalDialog = GObject.registerClass({ this.destroy(); } - close(timestamp) { + close() { if (this.state === State.CLOSED || this.state === State.CLOSING) return; this._setState(State.CLOSING); - this.popModal(timestamp); + this.popModal(); this._savedKeyFocus = null; if (this._shouldFadeOut) {