IDEA-130022 Reset head dialog: select the text box by default

This commit is contained in:
Max Medvedev
2014-10-04 14:26:35 +04:00
parent 0e3edfafba
commit c21b529928
@@ -22,6 +22,7 @@ import git4idea.commands.GitCommand;
import git4idea.commands.GitLineHandler;
import git4idea.i18n.GitBundle;
import git4idea.util.GitUIUtil;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
import java.util.List;
@@ -101,6 +102,12 @@ public class GitResetDialog extends DialogWrapper {
init();
}
@Nullable
@Override
public JComponent getPreferredFocusedComponent() {
return myCommitTextField;
}
/**
* Validate
*/