8888#c44511 Fix AttributeError: 'EditMediaRef' object has no attribute 'glade'

This commit is contained in:
Sam Manzi 2015-09-17 07:26:13 +10:00
parent 516155c6ee
commit 60ccf59ae5

View File

@ -443,7 +443,7 @@ class EditMediaRef(EditReference):
self.define_cancel_button(self.top.get_object('button84'))
self.define_ok_button(self.top.get_object('button82'),self.save)
# TODO help button (rename glade button name)
self.define_help_button(self.glade.get_object('button104'),
self.define_help_button(self.top.get_object('button104'),
WIKI_HELP_PAGE, WIKI_HELP_SEC)
def _connect_db_signals(self):