mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix closing the add trackers window by clicking Cancel
This commit is contained in:
parent
34678f1076
commit
18f9165ba6
1 changed files with 2 additions and 1 deletions
|
@ -220,5 +220,6 @@ class EditTrackersDialog:
|
|||
def on_button_add_cancel_clicked(self, widget):
|
||||
log.debug("on_button_add_cancel_clicked")
|
||||
# Clear the entry widget and hide the dialog
|
||||
self.glade.get_widget("entry_tracker").set_text("")
|
||||
b = gtk.TextBuffer()
|
||||
self.glade.get_widget("textview_trackers").set_buffer(b)
|
||||
self.add_tracker_dialog.hide()
|
||||
|
|
Loading…
Add table
Reference in a new issue