mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-28 05:36:34 +00:00
Merge pull request #222 from resin-io/fix/use-same-image
Fix "Use same image" not preserving the image selection
This commit is contained in:
commit
ef16f69df9
@ -101,7 +101,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