mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
Fix "Use same image" not preserving the image selection
This commit is contained in:
parent
a252b3a7e7
commit
e541357450
@ -97,7 +97,15 @@ app.controller('AppController', function(
|
|||||||
// the settings screen when a burn finished
|
// the settings screen when a burn finished
|
||||||
// and goes back to the main screen with the back button.
|
// and goes back to the main screen with the back button.
|
||||||
if (!this.writer.isBurning()) {
|
if (!this.writer.isBurning()) {
|
||||||
this.selection.clear();
|
|
||||||
|
this.selection.clear({
|
||||||
|
|
||||||
|
// Preserve image, in case there is one, otherwise
|
||||||
|
// we revert the behaviour of "Use same image".
|
||||||
|
preserveImage: true
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
this.writer.resetState();
|
this.writer.resetState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user