mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 17:08:42 +00:00
Fix #292 clicking on the tray icon while using 'start in tray'
This commit is contained in:
parent
9d3d22e7f8
commit
eeedd79f45
1 changed files with 5 additions and 2 deletions
|
@ -96,8 +96,11 @@ class MainWindow(component.Component):
|
||||||
|
|
||||||
def present(self):
|
def present(self):
|
||||||
# Restore the proper x,y coords for the window prior to showing it
|
# 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_x_pos"] = self.window_x_pos
|
||||||
self.config["window_y_pos"] = self.window_y_pos
|
self.config["window_y_pos"] = self.window_y_pos
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
self.window.present()
|
self.window.present()
|
||||||
self.load_window_state()
|
self.load_window_state()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue