fix: removed the ability to change location while making connection (#1736)

This commit is contained in:
Mitternacht822
2025-08-01 07:45:19 +04:00
committed by GitHub
parent f9002b4f43
commit e5dcb25a4a

View File

@@ -119,6 +119,10 @@ PageType {
checkable: !ConnectionController.isConnected
onClicked: {
if (ConnectionController.isConnectionInProgress) {
PageController.showNotificationMessage(qsTr("Unable change server location while trying to make an active connection"))
return
}
if (ConnectionController.isConnected) {
PageController.showNotificationMessage(qsTr("Unable change server location while there is an active connection"))
return