mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-11 19:08:40 +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):
|
def on_button_add_cancel_clicked(self, widget):
|
||||||
log.debug("on_button_add_cancel_clicked")
|
log.debug("on_button_add_cancel_clicked")
|
||||||
# Clear the entry widget and hide the dialog
|
# 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()
|
self.add_tracker_dialog.hide()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue