mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Embedded: reboot immeadetely upon success
This commit is contained in:
parent
243da48257
commit
ef6819f6c3
1 changed files with 5 additions and 2 deletions
7
main.qml
7
main.qml
|
@ -1024,8 +1024,11 @@ ApplicationWindow {
|
|||
msgpopup.title = qsTr("Write Successful")
|
||||
if (osbutton.text === qsTr("Erase"))
|
||||
msgpopup.text = qsTr("<b>%1</b> has been erased<br><br>You can now remove the SD card from the reader").arg(dstbutton.text)
|
||||
else if (imageWriter.isEmbeddedMode())
|
||||
msgpopup.text = qsTr("<b>%1</b> has been written to <b>%2</b>").arg(osbutton.text).arg(dstbutton.text)
|
||||
else if (imageWriter.isEmbeddedMode()) {
|
||||
//msgpopup.text = qsTr("<b>%1</b> has been written to <b>%2</b>").arg(osbutton.text).arg(dstbutton.text)
|
||||
/* Just reboot to the installed OS */
|
||||
Qt.quit()
|
||||
}
|
||||
else
|
||||
msgpopup.text = qsTr("<b>%1</b> has been written to <b>%2</b><br><br>You can now remove the SD card from the reader").arg(osbutton.text).arg(dstbutton.text)
|
||||
if (imageWriter.isEmbeddedMode()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue