Permalink
Browse files

Correct find dialog focus; tab name

  • Loading branch information...
1 parent 59b884f commit 031c838d63e1e4e56fe4fd2a78bc86bd7ed9583e @jcheng5 jcheng5 committed Mar 13, 2012
@@ -168,6 +168,14 @@ protected Widget createMainWidget()
return mainWidget_;
}
+ @Override
+ protected void onDialogShown()
+ {
+ super.onDialogShown();
+
+ txtSearchPattern_.setFocus(true);
+ }
+
@UiField
TextBox txtSearchPattern_;
@UiField
@@ -44,7 +44,7 @@ public FindOutputTab(final Shim shim,
Commands commands,
final Session session)
{
- super("Find", shim);
+ super("Find in Files", shim);
shim_ = shim;
if (!session.getSessionInfo().isFindInFilesEnabled())

0 comments on commit 031c838

Please sign in to comment.