forked from openlp/openlp
fixed settings tabs
This commit is contained in:
parent
8bf76a7baa
commit
bf60aa148e
@ -184,8 +184,9 @@ class SettingsTab(QtGui.QWidget):
|
||||
"""
|
||||
Adds the media controller to the class dynamically
|
||||
"""
|
||||
if not hasattr(self, u'_media_controller'):
|
||||
self._media_controller = Registry().get(u'media_controller')
|
||||
# if not hasattr(self, '_media_controller'):
|
||||
# self._media_controller = Registry().get('media_controller')
|
||||
# FIXME: python3
|
||||
return self._media_controller
|
||||
|
||||
media_controller = property(_get_media_controller)
|
||||
|
Loading…
Reference in New Issue
Block a user