Fix "Use same image" not preserving the image selection

This commit is contained in:
Juan Cruz Viotti 2016-03-30 16:28:22 -04:00
parent a252b3a7e7
commit e541357450

View File

@ -97,7 +97,15 @@ app.controller('AppController', function(
// the settings screen when a burn finished
// and goes back to the main screen with the back button.
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();
}