diff --git a/lib/browser/app.js b/lib/browser/app.js index c24ba8a7..7adb6a04 100644 --- a/lib/browser/app.js +++ b/lib/browser/app.js @@ -93,6 +93,14 @@ app.controller('AppController', function( this.writer = ImageWriterService; this.scanner = DriveScannerService; + // This catches the case where the user enters + // 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.writer.resetState(); + } + NotifierService.subscribe($scope, 'image-writer:state', function(state) { AnalyticsService.log(`Progress: ${state.progress}% at ${state.speed} MB/s`);