mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Forced update of UI when main window is restored from tray or from minimized
state.
This commit is contained in:
parent
b3a912cdea
commit
34e268defd
1 changed files with 4 additions and 0 deletions
|
@ -412,12 +412,16 @@ class DelugeGTK:
|
|||
self.window.hide()
|
||||
else:
|
||||
self.window.present()
|
||||
# Force UI update as we don't update it while minimized
|
||||
self.update()
|
||||
else:
|
||||
if self.config.get("lock_tray") == True:
|
||||
self.unlock_tray("mainwinshow")
|
||||
else:
|
||||
self.load_window_geometry()
|
||||
self.window.show()
|
||||
# Force UI update as we don't update it while in tray
|
||||
self.update()
|
||||
|
||||
def show_hide_window_toggled(self, widget):
|
||||
if widget.get_active() and not self.window.get_property("visible"):
|
||||
|
|
Loading…
Add table
Reference in a new issue