# HG changeset patch
# User Henrik Stuart <h...@hstuart.dk>
# Date 1249157903 -7200
# Node ID 1c1b3d9b47d01a30afa53c05f53ac9d9ace1334c
# Parent  4f31fee94c59f0287a42e2ae0f388973ed102273
logview: fix timing issue with refreshing log view

diff -r 4f31fee94c59 -r 1c1b3d9b47d0 hggtk/history.py
--- a/hggtk/history.py  Sat Aug 01 15:13:09 2009 -0500
+++ b/hggtk/history.py  Sat Aug 01 22:18:23 2009 +0200
@@ -343,7 +343,8 @@
     def _branch_color(self, button, property):
         active = button.get_active()
         self.graphview.set_property(property, active)
-        self.reload_log()
+        if hasattr(self, 'nextbutton'):
+            self.reload_log()
 
     def reload_log(self, **filteropts):
         'Send refresh event to treeview object'

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to