mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix tests
This commit is contained in:
@@ -876,16 +876,19 @@ public class LookupImpl extends LightweightHint implements LookupEx, Disposable
|
||||
}
|
||||
});
|
||||
|
||||
Disposer.register(this, new UiNotifyConnector(myEditor.getContentComponent(), new Activatable() {
|
||||
@Override
|
||||
public void showNotify() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void hideNotify() {
|
||||
hideLookup(false);
|
||||
}
|
||||
}));
|
||||
JComponent editorComponent = myEditor.getContentComponent();
|
||||
if (editorComponent.isShowing()) {
|
||||
Disposer.register(this, new UiNotifyConnector(editorComponent, new Activatable() {
|
||||
@Override
|
||||
public void showNotify() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void hideNotify() {
|
||||
hideLookup(false);
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
myList.addListSelectionListener(new ListSelectionListener() {
|
||||
private LookupElement oldItem = null;
|
||||
|
||||
Reference in New Issue
Block a user