forked from openlp/openlp
clean up
This commit is contained in:
parent
4792a73bb4
commit
0bb1ec6db5
@ -257,6 +257,7 @@ class OpenLP(QtGui.QApplication):
|
||||
if not applicationStart:
|
||||
# Reload setting tabs to apply possible changes.
|
||||
self.mainWindow.settingsForm.reload()
|
||||
#Receiver.send_message(u'config_screen_changed')
|
||||
# TODO: Make the new (second) monitor the live display.
|
||||
|
||||
def main():
|
||||
|
@ -30,8 +30,6 @@ displays.
|
||||
import logging
|
||||
import copy
|
||||
|
||||
from openlp.core.lib import Receiver
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
class ScreenList(object):
|
||||
@ -99,7 +97,6 @@ class ScreenList(object):
|
||||
if oldScreen == self.override:
|
||||
self.override = copy.deepcopy(newScreen)
|
||||
self.set_override_display()
|
||||
Receiver.send_message(u'config_screen_changed')
|
||||
break
|
||||
|
||||
def remove_screen(self, number):
|
||||
|
@ -113,6 +113,5 @@ class SettingsForm(QtGui.QDialog, Ui_SettingsDialog):
|
||||
Reload all tabs to update settings which have been changed and are
|
||||
outside of our scope.
|
||||
"""
|
||||
print u'reload'
|
||||
for tabIndex in range(0, self.settingsTabWidget.count()):
|
||||
self.settingsTabWidget.widget(tabIndex).load()
|
||||
|
Loading…
Reference in New Issue
Block a user