- Fixed Settings().Value to .value

This commit is contained in:
suutari-olli 2016-05-15 22:52:22 +03:00
parent 334d16d81c
commit f0cc512704
2 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@ class BibleManager(RegistryProperties):
translate('BiblesPlugin.BibleManager', 'Web Bible cannot be used'), translate('BiblesPlugin.BibleManager', 'Web Bible cannot be used'),
translate('BiblesPlugin.BibleManager', 'Text Search is not available with Web Bibles.\n' translate('BiblesPlugin.BibleManager', 'Text Search is not available with Web Bibles.\n'
'Please use the Scripture Reference Search instead.\n\n' 'Please use the Scripture Reference Search instead.\n\n'
'This means that the currently used Bible or Second Bible\n' 'This means that the currently used Bible\nor Second Bible '
'is installed as Web Bible.') 'is installed as Web Bible.')
) )
return None return None

View File

@ -732,7 +732,7 @@ class BibleMediaItem(MediaManagerItem):
""" """
log.debug('Quick Search Button clicked') log.debug('Quick Search Button clicked')
# If we are performing "Search while typing", this setting is set to True, here it's reset to "False" # If we are performing "Search while typing", this setting is set to True, here it's reset to "False"
if Settings().Value('bibles/hide web bible error if searching while typing'): if Settings().value('bibles/hide web bible error if searching while typing'):
Settings().setValue('bibles/hide web bible error if searching while typing', False) Settings().setValue('bibles/hide web bible error if searching while typing', False)
self.quickSearchButton.setEnabled(False) self.quickSearchButton.setEnabled(False)
self.application.process_events() self.application.process_events()