Fix Quicken + Suspend

This commit is contained in:
TRT
2021-10-04 14:05:13 +02:00
parent ecf1843922
commit 68f3879f11
7 changed files with 15 additions and 15 deletions

View File

@@ -499,7 +499,7 @@ public class FCheckBoxTree extends JTree {
int disabledNodes = cn.numberOfChildren - cn.enabledChildrenCount;
int totalActiveNodes = cn.numberOfChildren - disabledNodes;
if (this.displayNodesCount && !node.isLeaf() && cn.numberOfChildren > 0 && totalActiveNodes > 0) {
chkBoxTxt += String.format(" (%d/%d)", cn.selectedChildrenCount, totalActiveNodes);;
chkBoxTxt += String.format(" (%d/%d)", cn.selectedChildrenCount, totalActiveNodes);
}
this.checkBox.setText(chkBoxTxt);
this.checkBox.setName(nodeInfo.item.toString());