Fix closing the add trackers window by clicking Cancel
This commit is contained in:
parent
34678f1076
commit
18f9165ba6
@ -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…
x
Reference in New Issue
Block a user