From 45d48d67b1fe0d7e38025a60ca19d6489311dc9f Mon Sep 17 00:00:00 2001 From: GenevensiS <66968533+G-e-n-e-v-e-n-s-i-S@users.noreply.github.com> Date: Fri, 18 Jul 2025 04:40:16 +0200 Subject: [PATCH] Revert "restrict drop down menu closing conditions" This reverts commit 026400a1e092eca2b98360398fa78a22f532b780. --- src/gui/drop_down_list.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/drop_down_list.cpp b/src/gui/drop_down_list.cpp index 9002b33e..b530e7ce 100644 --- a/src/gui/drop_down_list.cpp +++ b/src/gui/drop_down_list.cpp @@ -42,8 +42,8 @@ private: || t == wxEVT_LEFT_DOWN || t == wxEVT_RIGHT_DOWN || t == wxEVT_MOVE || t == wxEVT_MENU_HIGHLIGHT || t == wxEVT_MENU_OPEN - || t == wxEVT_CLOSE_WINDOW - //|| t == wxEVT_ACTIVATE || t == wxEVT_KILL_FOCUS + || t == wxEVT_CLOSE_WINDOW || t == wxEVT_KILL_FOCUS + //|| t == wxEVT_ACTIVATE || t == wxEVT_COMMAND_TOOL_CLICKED) { // close the list, and pass on the event