Skip to content

Commit 123ca74

Browse files
authored
Fix bug in ProofManagementDialog (#3812)
2 parents 40d194c + 10b0dfc commit 123ca74

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

key.ui/src/main/java/de/uka/ilkd/key/gui/ProofManagementDialog.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,10 @@ public Component getListCellRendererComponent(JList<?> list, Object value, int i
132132
} else if (ps.getProofClosedByCache()) {
133133
label.setIcon(KEY_CACHED_CLOSED);
134134
} else {
135-
assert ps.getProofOpen();
135+
if (!ps.getProofOpen()) {
136+
LOGGER.warn("Unknown proof status " + ps
137+
+ " in ProofManagementDialog. Displaying open icon.");
138+
}
136139
label.setIcon(KEY_OPEN);
137140
}
138141
}
@@ -513,6 +516,8 @@ private void updateStartButton() {
513516
startButton.setIcon(KEY_OPEN);
514517
} else if (status.getProofClosedButLemmasLeft()) {
515518
startButton.setIcon(KEY_ALMOST_CLOSED);
519+
} else if (status.getProofClosedByCache()) {
520+
startButton.setIcon(KEY_CACHED_CLOSED);
516521
} else {
517522
assert status.getProofClosed();
518523
startButton.setIcon(KEY_CLOSED);

0 commit comments

Comments
 (0)