diff options
Diffstat (limited to 'lib/network')
-rw-r--r-- | lib/network/connection_manager.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 5fec995..cb3f066 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -172,10 +172,9 @@ sub start_connection { gtkset_mousecursor_wait($cmanager->{gui}{w}{window}->window); my $_wait = $cmanager->{in}->wait_message(N("Please wait"), N("Connecting...")); - #- settings have to be rewritten only if they are impacted by choices from the main window - if ($cmanager->{connection}->can('get_networks')) { + if ($cmanager->{connection}->can('apply_network_selection')) { load_settings($cmanager); - write_settings($cmanager); + $cmanager->{connection}->apply_network_selection($cmanager); } $cmanager->{connection}->prepare_connection if $cmanager->{connection}->can('prepare_connection'); $cmanager->{connection}->disconnect; |