summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection_manager.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index fd5489c..9e76868 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -202,6 +202,7 @@ sub start_connection {
Glib::Timeout->add($cmanager->{wait_message_timeout},
sub {
if ($cmanager->{wait_message}) {
+ $cmanager->update_on_status_change;
undef $cmanager->{wait_message};
$cmanager->{in}->ask_warn(N("Error"), N("Connection failed."))
if !$cmanager->{connection}->get_status;