forked from openlp/openlp
Rename signal
This commit is contained in:
parent
bdcf15d87b
commit
4d3dd6dbb5
@ -219,8 +219,7 @@ class EventReceiver(QtCore.QObject):
|
||||
``cursor_normal``
|
||||
Resets the cursor to default
|
||||
|
||||
|
||||
``maindisplay_css_updated``
|
||||
``update_display_css``
|
||||
CSS has been updated which needs to be changed on the main display.
|
||||
|
||||
|
||||
|
@ -82,7 +82,7 @@ class MainDisplay(QtGui.QGraphicsView):
|
||||
QtCore.SIGNAL(u'openlp_phonon_creation'),
|
||||
self.createMediaObject)
|
||||
QtCore.QObject.connect(Receiver.get_receiver(),
|
||||
QtCore.SIGNAL(u'maindisplay_css_updated'), self.cssChanged)
|
||||
QtCore.SIGNAL(u'update_display_css'), self.cssChanged)
|
||||
QtCore.QObject.connect(Receiver.get_receiver(),
|
||||
QtCore.SIGNAL(u'config_updated'), self.configChanged)
|
||||
|
||||
|
@ -191,7 +191,7 @@ class AlertsTab(SettingsTab):
|
||||
settings.setValue(u'location', QtCore.QVariant(self.location))
|
||||
settings.endGroup()
|
||||
if self.changed:
|
||||
Receiver.send_message(u'maindisplay_css_updated')
|
||||
Receiver.send_message(u'update_display_css')
|
||||
self.changed = False
|
||||
|
||||
def updateDisplay(self):
|
||||
|
Loading…
Reference in New Issue
Block a user