mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 00:15: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")
|
msgpopup.title = qsTr("Write Successful")
|
||||||
if (osbutton.text === qsTr("Erase"))
|
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)
|
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())
|
else if (imageWriter.isEmbeddedMode()) {
|
||||||
msgpopup.text = qsTr("<b>%1</b> has been written to <b>%2</b>").arg(osbutton.text).arg(dstbutton.text)
|
//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
|
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)
|
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()) {
|
if (imageWriter.isEmbeddedMode()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue