fix missing self.
This commit is contained in:
		
							parent
							
								
									fe4087d929
								
							
						
					
					
						commit
						aecb6092d0
					
				| 
						 | 
				
			
			@ -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?
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user