Skip to content

Commit

Permalink
tag all and folder all buttons always enabled. close #1976
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Nov 8, 2023
1 parent 6759145 commit 926e40c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1263,10 +1263,10 @@ public void addEntry(BulkSaveEntry e) {
this.rebuildExtensionsPanel();
this.checkForDuplicateFileNames();

this.cmdCommonTags.setEnabled(this.entryList.size()>1);
this.cmdCommonFolder.setEnabled(this.entryList.size()>1);
this.cmdTagAll.setEnabled(this.entryList.size()>1);
this.cmdFolderAll.setEnabled(this.entryList.size()>1);
this.cmdCommonTags.setEnabled(this.entryList.size()>0);
this.cmdCommonFolder.setEnabled(this.entryList.size()>0);
this.cmdTagAll.setEnabled(this.entryList.size()>0);
this.cmdFolderAll.setEnabled(this.entryList.size()>0);
}

public void updateTotals() {
Expand Down

0 comments on commit 926e40c

Please sign in to comment.