cleaning up weird DetailPanel exception

This commit is contained in:
Ben Fry
2022-02-03 16:34:28 -05:00
parent c49b20890d
commit 10aed9c32b
2 changed files with 11 additions and 4 deletions
@@ -336,10 +336,15 @@ implements Scrollable, ContributionListing.ChangeListener {
Icon icon = null;
label.setFont(ManagerFrame.NORMAL_PLAIN);
StatusPanelDetail detail = detailForContrib.get(contribution);
// if (detail == null) {
// System.out.println("no panel for " + contribution.name + " inside " + contributionTab.contribType);
// }
if (detail.updateInProgress || detail.installInProgress) {
/*
if (detail != null) {
System.err.println("ListPanel.configureStatusColumnLabel() no panel for " + contribution);
return;
}
*/
if (detail != null && (detail.updateInProgress || detail.installInProgress)) {
// Display "loading" icon if download/install in progress
icon = downloadingIcon;
} else if (contribution.isInstalled()) {
+2
View File
@@ -92,6 +92,8 @@ _ batik and ant have both broken the build when old versions were removed
contribs
_ ListPanel.configureStatusColumnLabel() getting null DetailPanel objects
_ seems to be out of sync/unavailable data based on more recent contrib changes?
_ several "Could not find a matching .properties file" with clocks pdex
_ examples window is per-Mode, but that doesn't seem helpful
_ just like sketchbook, you can open one from the other