mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
chore: add debug
This commit is contained in:
@@ -987,6 +987,8 @@ QString ServersModel::getServerUuid(int index) const
|
||||
|
||||
QString ServersModel::getProcessedServerUuid() const
|
||||
{
|
||||
qDebug() << "getProcessedServerIndex" << m_processedServerIndex;
|
||||
qDebug() << "getServerUuid" << getServerUuid(m_processedServerIndex);
|
||||
return getServerUuid(m_processedServerIndex);
|
||||
}
|
||||
|
||||
|
||||
@@ -86,6 +86,7 @@ PageType {
|
||||
onToggled: function() {
|
||||
if (checked) {
|
||||
const serverUuid = ServersModel.processedServerUuid
|
||||
console.log("serverUuid", serverUuid)
|
||||
if (!serverUuid) {
|
||||
checked = false
|
||||
PageController.showNotificationMessage(qsTr("Unable to determine the current server"))
|
||||
|
||||
Reference in New Issue
Block a user