Fix from ejpi
authorEd Page <eopage@byu.net>
Sat, 13 Aug 2011 19:19:59 +0000 (14:19 -0500)
committerEd Page <eopage@byu.net>
Sat, 13 Aug 2011 19:19:59 +0000 (14:19 -0500)
gonvert/util/qtpieboard.py

index 50ae9ae..8c227bc 100755 (executable)
@@ -171,11 +171,11 @@ class KeyboardHandler(object):
                del self.__modifiers["<%s>" % modifierName]
 
        def map_slice_action(self, slice, action):
-               callback = lambda direction: self(direction, action)
+               callback = lambda: self(action)
                slice.action().triggered.connect(callback)
                self.__sliceActions[slice] = (action, callback)
 
-       def __call__(self, direction, action):
+       def __call__(self, action):
                activeModifiers = [
                        mod.name
                        for mod in self.__modifiers.itervalues()