# HG changeset patch # User Henrik Stuart <h...@hstuart.dk> # Date 1254327037 -7200 # Node ID b181aaeee585a1a4ee0c4f184022249ad5e06e82 # Parent ef8bf7388dcc3d8cbc4bb31f13aa09c908ac90cd history: reset custom filter text when switching to non-custom filter
diff -r ef8bf7388dcc -r b181aaeee585 tortoisehg/hgtk/history.py --- a/tortoisehg/hgtk/history.py Wed Sep 30 09:30:07 2009 +0200 +++ b/tortoisehg/hgtk/history.py Wed Sep 30 18:10:37 2009 +0200 @@ -507,6 +507,9 @@ t = t + ' - ' + filtername self.set_title(t) + if self.filter != 'custom': + self.filterentry.set_text('') + if self.filter == 'branch': branch = opts.get('branch', None) self.graphview.refresh(self.graphcol, None, opts) ------------------------------------------------------------------------------ Come build with us! The BlackBerry® 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-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop