mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
fix: removed the ability to change location while making connection (#1736)
This commit is contained in:
@@ -119,6 +119,10 @@ PageType {
|
|||||||
checkable: !ConnectionController.isConnected
|
checkable: !ConnectionController.isConnected
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
if (ConnectionController.isConnectionInProgress) {
|
||||||
|
PageController.showNotificationMessage(qsTr("Unable change server location while trying to make an active connection"))
|
||||||
|
return
|
||||||
|
}
|
||||||
if (ConnectionController.isConnected) {
|
if (ConnectionController.isConnected) {
|
||||||
PageController.showNotificationMessage(qsTr("Unable change server location while there is an active connection"))
|
PageController.showNotificationMessage(qsTr("Unable change server location while there is an active connection"))
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user