mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 18:46:18 +00:00
NetworkSettings: Use on_change when switching adapter
This commit is contained in:
parent
04708f11e1
commit
c07d18c017
|
@ -201,8 +201,7 @@ ErrorOr<Optional<JsonObject>> NetworkSettingsWidget::create_settings_object()
|
||||||
|
|
||||||
void NetworkSettingsWidget::switch_adapter(ByteString const& adapter)
|
void NetworkSettingsWidget::switch_adapter(ByteString const& adapter)
|
||||||
{
|
{
|
||||||
m_adapters_combobox->set_text(adapter, GUI::AllowCallback::No);
|
m_adapters_combobox->set_text(adapter);
|
||||||
on_switch_adapter(adapter);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue