diff --git a/lib/gui/app.js b/lib/gui/app.js index e478a5df..e7bda8bf 100644 --- a/lib/gui/app.js +++ b/lib/gui/app.js @@ -165,6 +165,10 @@ app.controller('AppController', function( if (drives.length === 1 && self.selection.hasImage()) { const drive = _.first(drives); + if (!self.selection.isDriveValid(drive)) { + return; + } + // Do not autoselect the same drive over and over again // and fill the logs unnecessary. // `angular.equals` is used instead of `_.isEqual` to