# HG changeset patch # User David Wilhelm <d...@jumbledpile.com> # Date 1274405664 25200 # Node ID 18fc3cff27f578c30d9c7245ea13f476cb812da6 # Parent a5b6dcfa802e0364f81d31bcfc223bcc4d87ad1f clone: move focus to text field after browse
Closes #1236 diff --git a/tortoisehg/hgtk/clone.py b/tortoisehg/hgtk/clone.py --- a/tortoisehg/hgtk/clone.py +++ b/tortoisehg/hgtk/clone.py @@ -210,6 +210,8 @@ initial=entry.get_text().strip(), title=title).run() if res: entry.set_text(res) + entry.grab_focus() + entry.set_position(-1) def bundle_clicked(self, button, title, entry): path = entry.get_text().strip() ------------------------------------------------------------------------------ _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop