diff options
Diffstat (limited to 'lib/network')
-rwxr-xr-x | lib/network/netcenter.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index 148a409..28c54bd 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -109,6 +109,9 @@ sub main { $toggle_expand->(); my $expanded = !$expander->get_expanded; $expander->set_expanded($expanded); + gtkflush(); + $cmanager->update_networks if + $cmanager->{connection}->can('get_networks') && !$cmanager->{connection}{probed_networks} && $expanded; }); my $box = gtknew('VBox', spacing => 5, children_tight => [ gtknew('HBox', children => [ |