fixed the first-generated QR code is visible while generating another QR code bug (#656)

This commit is contained in:
Shehab Ahmed 2024-03-02 21:06:33 +02:00 committed by GitHub
parent ee762c4cef
commit 0c0ce54b1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -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();
} }

View file

@ -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