From 4093a73f4e910a7bd573d9521e858478c85f6bf5 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 24 Nov 2021 18:04:10 +0100 Subject: [PATCH] Only autoclose once, fix #570 --- UI/DefaultGUI.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/UI/DefaultGUI.ts b/UI/DefaultGUI.ts index a4ac2ddee..ebce8f1a8 100644 --- a/UI/DefaultGUI.ts +++ b/UI/DefaultGUI.ts @@ -197,6 +197,7 @@ export default class DefaultGUI { return; } isOpened.setData(false); + return true; // Unregister this caller - we only autoclose once }); this.state.selectedElement.addCallbackAndRunD((_) => {