mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-26 19:32:21 +00:00
[GTKUI] Typo causing password dialog to show
This commit is contained in:
parent
c05fa40756
commit
52db7df6d8
@ -180,7 +180,7 @@ class MainWindow(component.Component):
|
||||
self.window.present()
|
||||
self.load_window_state()
|
||||
|
||||
if self.config["tray_password"] and not self.visible():
|
||||
if self.config["lock_tray"] and not self.visible():
|
||||
dialog = PasswordDialog("Enter your pasword to open Deluge.")
|
||||
|
||||
def on_dialog_response(response_id):
|
||||
@ -224,7 +224,7 @@ class MainWindow(component.Component):
|
||||
else:
|
||||
stop_gtk_reactor()
|
||||
|
||||
if self.config["tray_password"] and not self.visible():
|
||||
if self.config["lock_tray"] and not self.visible():
|
||||
dialog = PasswordDialog("Enter your pasword to Quit Deluge...")
|
||||
|
||||
def on_dialog_response(response_id):
|
||||
|
Loading…
x
Reference in New Issue
Block a user