controls: fix crash on python 3.x

This commit is contained in:
John Cote 2019-12-30 20:58:34 -05:00
parent 1371a69c6a
commit eaba17d095
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class ControlManager:
def delete(self):
assert self.notify.debugCall(id(self))
self.disable()
for controls in self.controls.keys():
for controls in list(self.controls.keys()):
self.remove(controls)
del self.controls
del self.currentControls