fix emoticon toggle
This commit is contained in:
parent
096b477d16
commit
92677eaef4
@ -54,7 +54,7 @@ class punctuationManager():
|
|||||||
def proceedPunctuation(self, text, ignorePunctuation=False):
|
def proceedPunctuation(self, text, ignorePunctuation=False):
|
||||||
resultText = text
|
resultText = text
|
||||||
resultText = self.useCustomDict(resultText, self.env['punctuation']['CUSTOMDICT'])
|
resultText = self.useCustomDict(resultText, self.env['punctuation']['CUSTOMDICT'])
|
||||||
if self.env['runtime']['settingsManager'].getSetting('general', 'emoticons'):
|
if self.env['runtime']['settingsManager'].getSettingAsBool('general', 'emoticons'):
|
||||||
resultText = self.useCustomDict(resultText, self.env['punctuation']['EMOTICONDICT'])
|
resultText = self.useCustomDict(resultText, self.env['punctuation']['EMOTICONDICT'])
|
||||||
currPunctLevel = ''
|
currPunctLevel = ''
|
||||||
if not ignorePunctuation and self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel').lower() in self.env['punctuation']['LEVELDICT']:
|
if not ignorePunctuation and self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel').lower() in self.env['punctuation']['LEVELDICT']:
|
||||||
|
Loading…
Reference in New Issue
Block a user