forked from openlp/openlp
works now
This commit is contained in:
parent
8fe2aed62f
commit
0fee84cbb6
@ -59,12 +59,12 @@ class FileRenameForm(QtGui.QDialog, Ui_FileRenameDialog):
|
||||
self.file_name_edit.setFocus()
|
||||
return QtGui.QDialog.exec_(self)
|
||||
|
||||
# def _get_main_window(self):
|
||||
# """
|
||||
# Adds the main window to the class dynamically
|
||||
# """
|
||||
# if not hasattr(self, u'_main_window'):
|
||||
# self._main_window = Registry().get(u'main_window')
|
||||
# return self._main_window
|
||||
#
|
||||
# main_window = property(_get_main_window)
|
||||
def _get_main_window(self):
|
||||
"""
|
||||
Adds the main window to the class dynamically
|
||||
"""
|
||||
if not hasattr(self, u'_main_window'):
|
||||
self._main_window = Registry().get(u'main_window')
|
||||
return self._main_window
|
||||
|
||||
main_window = property(_get_main_window)
|
||||
|
Loading…
Reference in New Issue
Block a user