Allow to view module details only if module is selected
@@ -475,7 +475,7 @@ public String get() {
moduleDetails.bindEnabled(new ReadOnlyBinding<Boolean>() {
@Override
public Boolean get() {
- return !sortedModules.isEmpty() && sortedModules.stream().anyMatch(ModuleSelectionInfo::isPresent);
+ return moduleInfoBinding.get() != null;
}
});
moduleDetails.subscribe(b -> {
