Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2014-12-30 10:20:50 +0000
committerMatthias Sohn2015-03-15 00:03:01 +0000
commit63618104bfdf4bf2a6a5cc49374f2cf3f068aee6 (patch)
treea85bd5772fab2263f9a873cc06446e709ac44eeb
parent06518c4e0c1d92b216b98ff69d07f56c928b2d52 (diff)
downloadegit-63618104bfdf4bf2a6a5cc49374f2cf3f068aee6.tar.gz
egit-63618104bfdf4bf2a6a5cc49374f2cf3f068aee6.tar.xz
egit-63618104bfdf4bf2a6a5cc49374f2cf3f068aee6.zip
Avoid blinking cursor in merge result dialog
At least on Windows the merge result dialog shows a distracting blinking cursor in the first label. Let's avoid this by making the OK button the initially focused control. Change-Id: I544f755709f34dde36264474132623cf8954aeee Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/merge/MergeResultDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/merge/MergeResultDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/merge/MergeResultDialog.java
index 3b23290291..424d2ad008 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/merge/MergeResultDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/merge/MergeResultDialog.java
@@ -101,7 +101,7 @@ public class MergeResultDialog extends Dialog {
@Override
protected void createButtonsForButtonBar(final Composite parent) {
createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL,
- true);
+ true).setFocus();
}
@Override

Back to the top