Fix to avoid nullpointer while loading session

This commit is contained in:
Jindra Petřík
2023-09-30 10:12:10 +02:00
parent 17ea470eea
commit 99c03b7dd8
2 changed files with 2 additions and 11 deletions

View File

@@ -1441,7 +1441,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
return actionPanel;
}
private void updateUiWithCurrentOpenable() {
public void updateUiWithCurrentOpenable() {
switch (currentView) {
case VIEW_RESOURCES:
TreeItem resourcesTi = (TreeItem) tagTree.getLastSelectedPathComponent();