mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-01-18 08:30:42 -06:00
Mastodon: Fixed 'read long posts in GUI'. Now it should work as expected
This commit is contained in:
parent
002d0a5709
commit
021dd0ae52
@ -407,7 +407,7 @@ class BaseBuffer(base.Buffer):
|
||||
ts = original_date.humanize(locale=languageHandler.getLanguage())
|
||||
self.buffer.list.list.SetItem(self.buffer.list.get_selected(), 2, ts)
|
||||
if config.app["app-settings"]["read_long_posts_in_gui"] == True and self.buffer.list.list.HasFocus():
|
||||
output.speak(self.get_message(), interrupt=True)
|
||||
wx.CallLater(20, output.speak, self.get_message(), interrupt=True)
|
||||
if self.session.settings['sound']['indicate_audio'] and utils.is_audio_or_video(post):
|
||||
self.session.sound.play("audio.ogg")
|
||||
if self.session.settings['sound']['indicate_img'] and utils.is_image(post):
|
||||
|
Loading…
x
Reference in New Issue
Block a user