mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
fixed the first-generated QR code is visible while generating another QR code bug (#656)
This commit is contained in:
@@ -418,4 +418,6 @@ void ExportController::clearPreviousConfig()
|
|||||||
m_config.clear();
|
m_config.clear();
|
||||||
m_nativeConfigString.clear();
|
m_nativeConfigString.clear();
|
||||||
m_qrCodes.clear();
|
m_qrCodes.clear();
|
||||||
|
|
||||||
|
emit exportConfigChanged();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -279,6 +279,8 @@ DrawerType2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
id: qrCodeContainer
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: width
|
Layout.preferredHeight: width
|
||||||
Layout.topMargin: 20
|
Layout.topMargin: 20
|
||||||
|
|||||||
Reference in New Issue
Block a user