mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
fix the onLogout handler if the window hasn't been rendered yet
This commit is contained in:
parent
253d08d2f9
commit
a9392f9002
1 changed files with 3 additions and 1 deletions
|
@ -225,7 +225,9 @@ Copyright:
|
|||
|
||||
onLogout: function() {
|
||||
this.disconnect();
|
||||
this.hide();
|
||||
if (!this.hidden && this.rendered) {
|
||||
this.hide();
|
||||
}
|
||||
},
|
||||
|
||||
onRemove: function(button) {
|
||||
|
|
Loading…
Add table
Reference in a new issue