mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-168919 Deadlock on startup
This commit is contained in:
@@ -38,13 +38,9 @@ class PanelContentUI implements ContentUI {
|
||||
@Override
|
||||
public void setManager(@NotNull ContentManager manager) {
|
||||
manager.addContentManagerListener(new ContentManagerAdapter() {
|
||||
@Override
|
||||
public void contentAdded(ContentManagerEvent event) {
|
||||
initUI();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void selectionChanged(final ContentManagerEvent event) {
|
||||
initUI();
|
||||
if (ContentManagerEvent.ContentOperation.add == event.getOperation()) {
|
||||
showContent(event.getContent());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user