added reconnection to vpn after changing any protocol settings
This commit is contained in:
parent
bfc8c10f3d
commit
c0cb5b96bf
11 changed files with 33 additions and 79 deletions
|
|
@ -118,10 +118,10 @@ void ConnectionController::onConnectionStateChanged(Vpn::ConnectionState state)
|
|||
emit connectionStateChanged();
|
||||
}
|
||||
|
||||
void ConnectionController::onCurrentContainerChanged()
|
||||
void ConnectionController::onCurrentContainerUpdated()
|
||||
{
|
||||
if(m_isConnected || m_isConnectionInProgress) {
|
||||
emit reconnectWithChangedContainer(tr("Settings updated successfully, Reconnnection..."));
|
||||
if (m_isConnected || m_isConnectionInProgress) {
|
||||
emit reconnectWithUpdatedContainer(tr("Settings updated successfully, Reconnnection..."));
|
||||
openConnection();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue