fix: download button should be disabled while scanning.

master
lodici 2017-02-20 23:34:11 +00:00
parent f786164130
commit f0ffa1670f
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ abstract class DownloadPanel extends JPanel implements IScanListener, IDownloadL
@Override
public void setEnabled(boolean b) {
super.setEnabled(b);
downloadButton.setEnabled(b);
downloadButton.setEnabled(b && imagesScanner.isDone());
progressBar.setEnabled(b);
captionLabel.setEnabled(b);
}