mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
install completion preview for lookup explicitly focused (e.g. explciit completion)
This commit is contained in:
@@ -268,7 +268,7 @@ public class LookupImpl extends LightweightHint implements LookupEx, Disposable
|
||||
}
|
||||
|
||||
public void setFocused(boolean focused) {
|
||||
if (focused && !myFocused) {
|
||||
if (focused && !CompletionPreview.hasPreview(this)) {
|
||||
CompletionPreview.installPreview(this);
|
||||
}
|
||||
myFocused = focused;
|
||||
|
||||
Reference in New Issue
Block a user