NetworkSettings: Use on_change when switching adapter
This commit is contained in:
parent
04708f11e1
commit
c07d18c017
Notes:
sideshowbarker
2024-07-16 22:11:09 +09:00
Author: https://github.com/lanmonster Commit: https://github.com/SerenityOS/serenity/commit/c07d18c017 Pull-request: https://github.com/SerenityOS/serenity/pull/23589 Reviewed-by: https://github.com/AtkinsSJ
1 changed files with 1 additions and 2 deletions
|
@ -201,8 +201,7 @@ ErrorOr<Optional<JsonObject>> NetworkSettingsWidget::create_settings_object()
|
|||
|
||||
void NetworkSettingsWidget::switch_adapter(ByteString const& adapter)
|
||||
{
|
||||
m_adapters_combobox->set_text(adapter, GUI::AllowCallback::No);
|
||||
on_switch_adapter(adapter);
|
||||
m_adapters_combobox->set_text(adapter);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue