fix tests

This commit is contained in:
peter
2013-10-04 21:31:56 +02:00
parent 8cb52c8b40
commit 2350ee1bf9
@@ -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;