auto reconection when current-server's defaul container hase been changed
This commit is contained in:
parent
f11c65c393
commit
bfc8c10f3d
10 changed files with 74 additions and 18 deletions
|
|
@ -118,6 +118,14 @@ void ConnectionController::onConnectionStateChanged(Vpn::ConnectionState state)
|
|||
emit connectionStateChanged();
|
||||
}
|
||||
|
||||
void ConnectionController::onCurrentContainerChanged()
|
||||
{
|
||||
if(m_isConnected || m_isConnectionInProgress) {
|
||||
emit reconnectWithChangedContainer(tr("Settings updated successfully, Reconnnection..."));
|
||||
openConnection();
|
||||
}
|
||||
}
|
||||
|
||||
QString ConnectionController::connectionStateText() const
|
||||
{
|
||||
return m_connectionStateText;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue