# HG changeset patch # User IBBoard # Date 1281470051 0 # Node ID a32b6bb7f1eb26c7022f2ea5fb12a7b09832487e # Parent 0bd9c85d3c5d95652388e9675e4a10ca34227fd4 Fixes #129: Change notifications are slow in GTK app * Kick tree with a "queue draw" call to queue a redrawing of the widget diff -r 0bd9c85d3c5d -r a32b6bb7f1eb FrmMainWindow.cs --- a/FrmMainWindow.cs Sat Aug 07 19:56:05 2010 +0000 +++ b/FrmMainWindow.cs Tue Aug 10 19:54:11 2010 +0000 @@ -237,6 +237,8 @@ IBBoard.WarFoundry.API.Objects.Unit unit = (IBBoard.WarFoundry.API.Objects.Unit)val; UnitDisplayWidget widget; unitToWidgetMap.TryGetValue(unit, out widget); + logger.DebugFormat("Unit name changed for {0} - now called {1}", unit.ID, unit.Name); + treeUnits.QueueDraw(); if (widget!=null) {