This commit is contained in:
Jeremiah Ticket
2016-10-04 12:22:58 -08:00
4 changed files with 48 additions and 7 deletions

View File

@@ -102,9 +102,10 @@ class punctuationManager():
try:
currIndex = punctList.index(self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel').lower()) # curr punctuation
except:
return
return False
currIndex += 1
if currIndex >= len(punctList):
currIndex = 0
currLevel = punctList[currIndex]
self.env['runtime']['settingsManager'].setSetting('general', currLevel.lower())
self.env['runtime']['settingsManager'].setSetting('general', 'punctuationLevel', currLevel.lower())
return True