mirror of
https://github.com/amnezia-vpn/DefaultVPN.git
synced 2026-05-17 08:36:37 +03:00
fix: block switching to another server during active connection (#31)
* fix(ui): block switching to another server during active connection * chore: bump qt version in windows workflow * chore: bump qt version in windows workflow --------- Co-authored-by: vkamn <vk@amnezia.org>
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -84,7 +84,7 @@ jobs:
|
||||
runs-on: windows-latest
|
||||
|
||||
env:
|
||||
QT_VERSION: 6.6.2
|
||||
QT_VERSION: 6.9.2
|
||||
QIF_VERSION: 4.7
|
||||
BUILD_ARCH: 64
|
||||
PROD_AGW_PUBLIC_KEY: ${{ secrets.PROD_AGW_PUBLIC_KEY }}
|
||||
|
||||
@@ -162,6 +162,10 @@ Page {
|
||||
}
|
||||
|
||||
onClicked: function() {
|
||||
if (ConnectionController.isConnected) {
|
||||
PageController.showNotificationMessage(qsTr("Unable change server location while there is an active connection"))
|
||||
return
|
||||
}
|
||||
ServersModel.defaultIndex = index
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user