mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-08-02 09:59:07 +02:00
Fixed focus problem when escape from dialog
This commit is contained in:
parent
f836ba3506
commit
a521a2a7c3
@ -25,6 +25,7 @@ import com.maddyhome.idea.vim.KeyHandler;
|
||||
import com.maddyhome.idea.vim.ex.CommandHandler;
|
||||
import com.maddyhome.idea.vim.ex.ExCommand;
|
||||
import com.maddyhome.idea.vim.ex.ExException;
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
/**
|
||||
*
|
||||
@ -36,9 +37,14 @@ public class FindFileHandler extends CommandHandler
|
||||
super("fin", "d", RANGE_FORBIDDEN | ARGUMENT_OPTIONAL);
|
||||
}
|
||||
|
||||
public boolean execute(Editor editor, DataContext context, ExCommand cmd) throws ExException
|
||||
public boolean execute(Editor editor, final DataContext context, ExCommand cmd) throws ExException
|
||||
{
|
||||
KeyHandler.executeAction("GotoFile", context);
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
public void run()
|
||||
{
|
||||
KeyHandler.executeAction("GotoFile", context);
|
||||
}
|
||||
});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user