mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-18 02:52:42 +03:00
EDMarketConnector: Correct arg to tk overrideredirect to bool
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user