Opened 10 months ago

#3622 new bug

Tray password bug.

Reported by: mhertz Owned by:
Priority: minor Milestone: needs verified
Component: GTK UI Version: develop
Keywords: Cc:

Description

As title, tray doesn't open deluge when correct password entered, because get_text() from the password-dialog's gtk.entry(), returns empty, as dialog destroy()'ed before read. I just fixed quick here with:

--- dialogs-orig.py	2024-01-23 21:33:09.600695612 +0100
+++ dialogs.py	2024-01-23 21:37:04.410699699 +0100
@@ -451,9 +451,10 @@
         self.show_all()
 
     def get_password(self):
-        return self.password_entry.get_text()
+        return self.pw
 
     def on_password_activate(self, widget):
+        self.pw = self.password_entry.get_text()
         self.response(Gtk.ResponseType.OK)
 
 

Reported on forum by Cle95 here: https://forum.deluge-torrent.org/viewtopic.php?t=56712

Thanks in advance!

Change History (0)

Note: See TracTickets for help on using tickets.