Fix #292 clicking on the tray icon while using 'start in tray'
This commit is contained in:
parent
9d3d22e7f8
commit
eeedd79f45
|
@ -96,8 +96,11 @@ class MainWindow(component.Component):
|
|||
|
||||
def present(self):
|
||||
# Restore the proper x,y coords for the window prior to showing it
|
||||
try:
|
||||
self.config["window_x_pos"] = self.window_x_pos
|
||||
self.config["window_y_pos"] = self.window_y_pos
|
||||
except:
|
||||
pass
|
||||
|
||||
self.window.present()
|
||||
self.load_window_state()
|
||||
|
|
Loading…
Reference in New Issue