fix
This commit is contained in:
@@ -176,7 +176,15 @@ public final class VersionsPage extends BorderPane implements WizardPage, Refres
|
|||||||
this.setCenter(root);
|
this.setCenter(root);
|
||||||
|
|
||||||
versionList = downloadProvider.getVersionListById(libraryId);
|
versionList = downloadProvider.getVersionListById(libraryId);
|
||||||
if (versionList.hasType()) {
|
boolean hasType = versionList.hasType();
|
||||||
|
chkRelease.setManaged(hasType);
|
||||||
|
chkRelease.setVisible(hasType);
|
||||||
|
chkSnapshot.setManaged(hasType);
|
||||||
|
chkSnapshot.setVisible(hasType);
|
||||||
|
chkOld.setManaged(hasType);
|
||||||
|
chkOld.setVisible(hasType);
|
||||||
|
|
||||||
|
if (hasType) {
|
||||||
centrePane.getContent().setAll(checkPane, list);
|
centrePane.getContent().setAll(checkPane, list);
|
||||||
} else {
|
} else {
|
||||||
centrePane.getContent().setAll(list);
|
centrePane.getContent().setAll(list);
|
||||||
|
|||||||
Reference in New Issue
Block a user