From 1f8e9727ecd13ec15e9c8111e8081506e1654c69 Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Wed, 15 Jul 2020 18:26:53 -0400 Subject: [PATCH] LibGUI: Remove on_activity_change from ComboBox Unnecessary since the inclusion of window accessories. --- Libraries/LibGUI/ComboBox.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Libraries/LibGUI/ComboBox.cpp b/Libraries/LibGUI/ComboBox.cpp index 9b1abf63b3..ea9b65b4be 100644 --- a/Libraries/LibGUI/ComboBox.cpp +++ b/Libraries/LibGUI/ComboBox.cpp @@ -102,16 +102,8 @@ ComboBox::ComboBox() m_list_window = add(window()); m_list_window->set_frameless(true); m_list_window->set_accessory(true); - m_list_window->on_active_input_change = [this](bool is_active_input) { if (!is_active_input) { - m_open_button->set_enabled(true); - close(); - } - }; - - m_list_window->on_activity_change = [this](const bool is_active) { - if (!is_active) { m_open_button->set_enabled(false); close(); }