From 926e40c67bb61da731fd1e3b049cd7eff79a7c43 Mon Sep 17 00:00:00 2001 From: j-dimension Date: Thu, 9 Nov 2023 00:02:59 +0100 Subject: [PATCH] tag all and folder all buttons always enabled. close #1976 --- .../jlawyer/client/editors/files/BulkSaveDialog.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/BulkSaveDialog.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/BulkSaveDialog.java index 1004b9f22..b28e7391d 100644 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/BulkSaveDialog.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/BulkSaveDialog.java @@ -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() {