mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 16:24:59 +00:00
LibGUI: Remove on_activity_change from ComboBox
Unnecessary since the inclusion of window accessories.
This commit is contained in:
parent
67cdbe1925
commit
1f8e9727ec
1 changed files with 0 additions and 8 deletions
|
@ -102,16 +102,8 @@ ComboBox::ComboBox()
|
|||
m_list_window = add<Window>(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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue