forked from openlp/openlp
Only save footer template if it has been changed
This commit is contained in:
parent
33e3bcd1d5
commit
af57ef066b
@ -241,6 +241,8 @@ class SongsTab(SettingsTab):
|
||||
settings.setValue('mainview chords', self.mainview_chords)
|
||||
settings.setValue('disable chords import', self.disable_chords_import)
|
||||
settings.setValue('chord notation', self.chord_notation)
|
||||
# Only save footer template if it has been changed. This allows future updates
|
||||
if self.footer_edit_box.toPlainText() != Settings().get_default_value('songs/footer template'):
|
||||
settings.setValue('footer template', self.footer_edit_box.toPlainText())
|
||||
settings.endGroup()
|
||||
if self.tab_visited:
|
||||
|
Loading…
Reference in New Issue
Block a user