kernwin.i: Fixed modal chooser constant

This commit is contained in:
gergely.erdelyi 2008-12-10 14:17:23 +00:00
parent caecd08a77
commit ef61a9bac7

View File

@ -246,7 +246,7 @@ class Choose:
# HACK: Add a circular reference for non-modal choosers. This prevents the GC
# from collecting the class object the callbacks need. Unfortunately this means
# that the class will never be collected, unless refhack is set to None explicitly.
if (flags & 2) == 0:
if (flags & 1) == 0:
self.refhack = self
def sizer(self):