don't close lookup on typing during in-place rename

This commit is contained in:
peter.gromov
2010-10-21 19:42:32 +04:00
parent 348a1be0f5
commit aa1c3a522c
@@ -125,7 +125,17 @@ public class TemplateState implements Disposable {
public void beforeCommandFinished(CommandEvent event) {
if (started) {
afterChangedUpdate();
Runnable runnable = new Runnable() {
public void run() {
afterChangedUpdate();
}
};
final LookupImpl lookup = (LookupImpl)LookupManager.getActiveLookup(myEditor);
if (lookup != null) {
lookup.performGuardedChange(runnable);
} else {
runnable.run();
}
}
}
};