PlayerStats: Fix sorting in # Hands col
Patch from Almer Visser. Using %d causes Gtk to order as a string rather than a number. Convert to %1.0f and issue disappears.
This commit is contained in:
		
							parent
							
								
									6a17609040
								
							
						
					
					
						commit
						0e707c19f8
					
				| 
						 | 
				
			
			@ -92,7 +92,7 @@ class GuiPlayerStats (threading.Thread):
 | 
			
		|||
                       , ["hand",       False, "Hand",     0.0, "%s", "str"]   # true not allowed for this line
 | 
			
		||||
                       , ["plposition", False, "Posn",     1.0, "%s", "str"]   # true not allowed for this line (set in code)
 | 
			
		||||
                       , ["pname",      False, "Name",     0.0, "%s", "str"]   # true not allowed for this line (set in code)
 | 
			
		||||
                       , ["n",          True,  "Hds",      1.0, "%d", "str"]
 | 
			
		||||
                       , ["n",          True,  "Hds",      1.0, "%1.0f", "str"]
 | 
			
		||||
                       , ["avgseats",   False,  "Seats",    1.0, "%3.1f", "str"]
 | 
			
		||||
                       , ["vpip",       True,  "VPIP",     1.0, "%3.1f", "str"]
 | 
			
		||||
                       , ["pfr",        True,  "PFR",      1.0, "%3.1f", "str"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user