IDEA-201079 QuickDoc popup is not focused on the second "Ctrl+Q" if it was opened from autocomplete or Project View

This commit is contained in:
Dmitry Batrak
2018-12-03 14:57:29 +03:00
parent 8a1302c2a4
commit 0feb68c7f0
@@ -844,6 +844,9 @@ public class DocumentationComponent extends JPanel implements Disposable, DataPr
PopupPositionManager.positionPopupInBestPosition(myHint, myManager.getEditor(), dataContext,
PopupPositionManager.Position.RIGHT, PopupPositionManager.Position.LEFT);
Window window = myHint.getPopupWindow();
if (window != null) window.setFocusableWindowState(true);
if (myHint.getDimensionServiceKey() == null) {
registerSizeTracker();
}