From bf9826b9df8f265d980adb4b9a8e3ef6e97b3ea4 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 11 May 2015 16:56:55 +0200 Subject: [client] reconnect using the current session name and current manager ip --- src/client/connectwindow/connectwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/client/connectwindow/connectwindow.cpp') diff --git a/src/client/connectwindow/connectwindow.cpp b/src/client/connectwindow/connectwindow.cpp index be4e7fd..6fd92e6 100644 --- a/src/client/connectwindow/connectwindow.cpp +++ b/src/client/connectwindow/connectwindow.cpp @@ -286,6 +286,8 @@ void ConnectWindow::onConnectionDisconnected() { _state = Idle; this->updateUserInterface(); - if (_tryReconnect) - connectToSession(_ui->lineEditName->text().toUtf8(), NULL); + if (_tryReconnect) { + this->updateUserInterface(); + connectToSession(_currentSession, _currentIp); + } } -- cgit v1.2.3-55-g7522