remove redundant flag toggle

This commit is contained in:
richardsheridan 2020-10-26 16:09:49 -04:00 committed by Casper da Costa-Luis
parent bc1bd7e27c
commit 059e02185c
No known key found for this signature in database
GPG Key ID: 986B408043AE090D
1 changed files with 0 additions and 2 deletions

View File

@ -276,8 +276,6 @@ class tqdm_tk(std_tqdm): # pragma: no cover
warn('GUI is experimental/alpha', TqdmExperimentalWarning, stacklevel=2 warn('GUI is experimental/alpha', TqdmExperimentalWarning, stacklevel=2
) )
self._tk_dispatching = self._tk_dispatching_helper() self._tk_dispatching = self._tk_dispatching_helper()
if not self._tk_dispatching:
self.leave = False
self._tk_window.protocol("WM_DELETE_WINDOW", self.cancel) self._tk_window.protocol("WM_DELETE_WINDOW", self.cancel)
self._tk_window.wm_title(self.desc) self._tk_window.wm_title(self.desc)