forked from openlp/openlp
song export fixes
This commit is contained in:
parent
6f3f9ce0ea
commit
bee9c96b9a
@ -145,6 +145,10 @@ class Settings(QtCore.QSettings):
|
|||||||
u'players/background color': u'#000000',
|
u'players/background color': u'#000000',
|
||||||
u'servicemanager/service theme': u'',
|
u'servicemanager/service theme': u'',
|
||||||
u'servicemanager/last directory': u'',
|
u'servicemanager/last directory': u'',
|
||||||
|
u'SettingsImport/Make_Changes': u'At_Own_RISK',
|
||||||
|
u'SettingsImport/type': u'OpenLP_settings_export',
|
||||||
|
u'SettingsImport/file_date_created': datetime.datetime.now().strftime("%Y-%m-%d %H:%M"),
|
||||||
|
u'SettingsImport/version': u'',
|
||||||
u'shortcuts/viewPreviewPanel': [QtGui.QKeySequence(u'F11')],
|
u'shortcuts/viewPreviewPanel': [QtGui.QKeySequence(u'F11')],
|
||||||
u'shortcuts/settingsImportItem': [],
|
u'shortcuts/settingsImportItem': [],
|
||||||
u'shortcuts/settingsPluginListItem': [QtGui.QKeySequence(u'Alt+F7')],
|
u'shortcuts/settingsPluginListItem': [QtGui.QKeySequence(u'Alt+F7')],
|
||||||
|
@ -42,7 +42,7 @@ from PyQt4 import QtCore, QtGui
|
|||||||
from openlp.core.lib import Renderer, build_icon, OpenLPDockWidget, PluginManager, Receiver, translate, ImageManager, \
|
from openlp.core.lib import Renderer, build_icon, OpenLPDockWidget, PluginManager, Receiver, translate, ImageManager, \
|
||||||
PluginStatus, ScreenList, UiStrings
|
PluginStatus, ScreenList, UiStrings
|
||||||
from openlp.core.lib.ui import create_action
|
from openlp.core.lib.ui import create_action
|
||||||
from openlp.core.lib import SlideLimits, Settings
|
from openlp.core.lib import Settings
|
||||||
from openlp.core.ui import AboutForm, SettingsForm, ServiceManager, ThemeManager, SlideController, PluginForm, \
|
from openlp.core.ui import AboutForm, SettingsForm, ServiceManager, ThemeManager, SlideController, PluginForm, \
|
||||||
MediaDockManager, ShortcutListForm, FormattingTagForm
|
MediaDockManager, ShortcutListForm, FormattingTagForm
|
||||||
from openlp.core.ui.media import MediaController
|
from openlp.core.ui.media import MediaController
|
||||||
@ -858,6 +858,8 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
|
|||||||
continue
|
continue
|
||||||
# We have a good file, import it.
|
# We have a good file, import it.
|
||||||
for section_key in import_keys:
|
for section_key in import_keys:
|
||||||
|
if u'eneral' in section_key:
|
||||||
|
section_key = section_key.lower()
|
||||||
value = import_settings.value(section_key)
|
value = import_settings.value(section_key)
|
||||||
if value is not None:
|
if value is not None:
|
||||||
settings.setValue(u'%s' % (section_key), value)
|
settings.setValue(u'%s' % (section_key), value)
|
||||||
|
Loading…
Reference in New Issue
Block a user