Clear src when selecting different device

Closes #696
This commit is contained in:
Floris Bos 2023-10-21 11:04:09 +02:00
parent 1b85b232fd
commit 37560158f7

View file

@ -1679,6 +1679,7 @@ ApplicationWindow {
// an OS selected which isn't compatible with this HW device // an OS selected which isn't compatible with this HW device
oslist.currentIndex = -1 oslist.currentIndex = -1
osswipeview.currentIndex = 0 osswipeview.currentIndex = 0
imageWriter.setSrc("")
osbutton.text = qsTr("CHOOSE OS") osbutton.text = qsTr("CHOOSE OS")
writebutton.enabled = false writebutton.enabled = false