Fix #292 clicking on the tray icon while using 'start in tray'

This commit is contained in:
Andrew Resch 2008-06-23 22:10:49 +00:00
parent 9d3d22e7f8
commit eeedd79f45
1 changed files with 5 additions and 2 deletions

View File

@ -96,8 +96,11 @@ class MainWindow(component.Component):
def present(self):
# Restore the proper x,y coords for the window prior to showing it
self.config["window_x_pos"] = self.window_x_pos
self.config["window_y_pos"] = self.window_y_pos
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()