mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-130022 Reset head dialog: select the text box by default
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user