mirror of
https://github.com/mirror/jdownloader.git
synced 2024-11-23 12:09:43 +00:00
*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:
parent
87db861cc3
commit
7f40f11d65
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user