mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +03:00
EDMarketConnector: Correct arg to tk overrideredirect to bool
This commit is contained in:
parent
5710f3fd61
commit
dad2f95f64
@ -1670,7 +1670,7 @@ class AppWindow(object):
|
||||
|
||||
def oniconify(self, event=None) -> None:
|
||||
"""Handle minimization of the application."""
|
||||
self.w.overrideredirect(0) # Can't iconize while overrideredirect
|
||||
self.w.overrideredirect(False) # Can't iconize while overrideredirect
|
||||
self.w.iconify()
|
||||
self.w.update_idletasks() # Size and windows styles get recalculated here
|
||||
self.w.wait_visibility() # Need main window to be re-created before returning
|
||||
|
Loading…
x
Reference in New Issue
Block a user