Fix noop() prototype
Hud's noop() is called from gtk event handler, which passes additional arguments. We don't care about them but we do want to prevent HUD-error.txt from being flooded with TypeError messages.
This commit is contained in:
+1
-1
@@ -423,7 +423,7 @@ class Stat_Window:
|
||||
return True
|
||||
return False
|
||||
|
||||
def noop(self): # i'm going to try to connect the focus-in and focus-out events here, to see if that fixes any of the focus problems.
|
||||
def noop(self, *args): # i'm going to try to connect the focus-in and focus-out events here, to see if that fixes any of the focus problems.
|
||||
return True
|
||||
|
||||
def kill_popup(self, popup):
|
||||
|
||||
Reference in New Issue
Block a user