Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
changeset 41:a32b6bb7f1eb
Fixes #129: Change notifications are slow in GTK app
* Kick tree with a "queue draw" call to queue a redrawing of the widget
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 10 Aug 2010 19:54:11 +0000 |
parents | 0bd9c85d3c5d |
children | 35ad26ac59c0 |
files | FrmMainWindow.cs |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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) {