*General*

- AbstractMergeSameNamedPackagesAction: fixed regression: this action was greyed out when no elements were selected but this is not how it was supposed to work RE forum 96422

git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@49745 ebf7c1c2-ba36-0410-9fe8-c592906822b4

Former-commit-id: a7cd7aaefe689aad44d3f8a0021f478defa6d15d
This commit is contained in:
psp 2024-09-09 17:44:10 +00:00
parent 87db861cc3
commit 7f40f11d65

View File

@ -106,7 +106,7 @@ public abstract class AbstractMergeSameNamedPackagesAction<PackageType extends A
@Override
public boolean isEnabled() {
final SelectionInfo<PackageType, ChildrenType> sel = getSelection();
if (sel == null || sel.isEmpty()) {
if (sel == null) {
/* This shall never happen. */
return false;
}