From f5fe49d38efdad524a739f3ba5679476d3244f04 Mon Sep 17 00:00:00 2001 From: tillvit Date: Tue, 11 Jun 2024 18:12:43 +0800 Subject: [PATCH] Fix missing app in statuswidget --- app/src/gui/widget/StatusWidget.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/gui/widget/StatusWidget.ts b/app/src/gui/widget/StatusWidget.ts index 20a45d92..5b490957 100644 --- a/app/src/gui/widget/StatusWidget.ts +++ b/app/src/gui/widget/StatusWidget.ts @@ -404,7 +404,9 @@ export class StatusWidget extends Widget { detectSyncIcon.src = Icons.DETECT_SYNC this.detectSync.appendChild(detectSyncIcon) this.detectSync.onclick = () => { - this.manager.app.windowManager.openWindow(new SyncWindow(app)) + this.manager.app.windowManager.openWindow( + new SyncWindow(this.manager.app) + ) } this.detectSync.id = "detect-sync" this.timingContainer.appendChild(this.detectSync)