From e85a531f6ada8948e3384dd8cf5f75e5c7b082c7 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 27 Feb 2009 14:27:57 -0500 Subject: [PATCH] Fix missing "self." in previous commit. --- pyfpdb/Hud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Hud.py b/pyfpdb/Hud.py index 12f66175..da791415 100644 --- a/pyfpdb/Hud.py +++ b/pyfpdb/Hud.py @@ -303,7 +303,7 @@ class Hud: if this_stat.hudcolor != "": self.label.modify_fg(gtk.STATE_NORMAL, gtk.gdk.color_parse(self.colors['hudfgcolor'])) - self.stat_windows[stat_dict[s]['seat']].label[r][c].modify_fg(gtk.STATE_NORMAL, gtk.gdk.color_parse(this_stat.hudcolor)) + self.stat_windows[self.stat_dict[s]['seat']].label[r][c].modify_fg(gtk.STATE_NORMAL, gtk.gdk.color_parse(this_stat.hudcolor)) self.stat_windows[self.stat_dict[s]['seat']].label[r][c].set_text(statstring) if statstring != "xxx": # is there a way to tell if this particular stat window is visible already, or no?