# HG changeset patch
# User Henrik Stuart <h...@hstuart.dk>
# Date 1254240167 -7200
# Node ID f1988a6e5578f9bd72860ad178f0e38f5294c422
# Parent  f16a874fa811125f568f051719d289868a20a439
gotorev: close dialog on successful selection

diff -r f16a874fa811 -r f1988a6e5578 tortoisehg/hgtk/gorev.py
--- a/tortoisehg/hgtk/gorev.py  Tue Sep 29 13:45:10 2009 -0500
+++ b/tortoisehg/hgtk/gorev.py  Tue Sep 29 18:02:47 2009 +0200
@@ -52,6 +52,7 @@
             revision = self.revEntry.get_text()
             if self.gotofunc:
                 self.gotofunc(revision)
+            self.destroy()
         except mercurial.error.RepoError, e:
             gdialog.Prompt(_('Invalid Revision'), str(e), self).run()
             self.revEntry.grab_focus()

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to