mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 18:10:43 +01:00
Fixed a NPE
This commit is contained in:
@@ -156,9 +156,11 @@ public class ContributionManagerDialog {
|
||||
@Override
|
||||
public void stateChanged(ChangeEvent e) {
|
||||
// When the tab is changed update status to the current selected panel
|
||||
getActiveTab().contributionListPanel
|
||||
.setSelectedPanel(getActiveTab().contributionListPanel
|
||||
.getSelectedPanel());
|
||||
ContributionPanel currentPanel = getActiveTab().contributionListPanel
|
||||
.getSelectedPanel();
|
||||
if (currentPanel != null) {
|
||||
getActiveTab().contributionListPanel.setSelectedPanel(currentPanel);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user