From 377de59df9d704f52e6b278edc60ce0825e1f377 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 15 Sep 2025 19:40:32 +0300 Subject: [PATCH] fix(client): printing triggers twice --- apps/client/src/widgets/dialogs/popup_editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/dialogs/popup_editor.ts b/apps/client/src/widgets/dialogs/popup_editor.ts index bb0b5ca34..3c06dd5df 100644 --- a/apps/client/src/widgets/dialogs/popup_editor.ts +++ b/apps/client/src/widgets/dialogs/popup_editor.ts @@ -151,7 +151,7 @@ export default class PopupEditorDialog extends Container { handleEventInChildren(name: T, data: EventData): Promise | null { // Avoid events related to the current tab interfere with our popup. - if (["noteSwitched", "noteSwitchedAndActivated"].includes(name)) { + if (["noteSwitched", "noteSwitchedAndActivated", "exportAsPdf", "printActiveNote"].includes(name)) { return Promise.resolve(); }