remove superfluous lambda arg
This commit is contained in:
parent
61654ff70a
commit
9958dd57a4
@ -1158,7 +1158,7 @@ Please ensure a profile is open and Anki is not busy, then try again."""),
|
||||
# ensure gc runs in main thread
|
||||
|
||||
def setupDialogGC(self, obj):
|
||||
obj.finished.connect(lambda o=obj: self.gcWindow(obj))
|
||||
obj.finished.connect(lambda: self.gcWindow(obj))
|
||||
|
||||
def gcWindow(self, obj):
|
||||
obj.deleteLater()
|
||||
|
Loading…
Reference in New Issue
Block a user