mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
focus stays in NavBar after choosing an element from popup
This commit is contained in:
@@ -551,7 +551,7 @@ public final class ToolWindowManagerImpl extends ToolWindowManagerEx implements
|
||||
}
|
||||
|
||||
private void activateEditorComponent(final boolean forced) {
|
||||
activateEditorComponent(forced, false);
|
||||
activateEditorComponent(forced, true); //TODO[kirillk]: runnable in activateEditorComponent(boolean, boolean) never runs
|
||||
}
|
||||
private void activateEditorComponent(final boolean forced, boolean now) {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
@@ -567,7 +567,6 @@ public final class ToolWindowManagerImpl extends ToolWindowManagerEx implements
|
||||
execute(commandList);
|
||||
}
|
||||
};
|
||||
|
||||
if (now) {
|
||||
runnable.run();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user