mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 02:23:25 +00:00
Mobile/downloadDC: always start with empty index
To prevent stale data being visible always set the combobox indexes to -1 Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
c4d6886daf
commit
0a3130cd86
1 changed files with 1 additions and 0 deletions
|
@ -347,6 +347,7 @@ Kirigami.Page {
|
|||
}
|
||||
|
||||
onVisibleChanged: {
|
||||
comboVendor.currentIndex = comboProduct.currentIndex = comboConnection.currentIndex = -1
|
||||
if (visible) {
|
||||
comboVendor.currentIndex = manager.getDetectedVendorIndex()
|
||||
comboProduct.currentIndex = manager.getDetectedProductIndex(comboVendor.currentText)
|
||||
|
|
Loading…
Add table
Reference in a new issue