This commit is contained in:
Kovid Goyal 2024-09-03 19:42:41 +05:30
parent f3f92f0c36
commit 631c618503
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -61,6 +61,9 @@ class MainWindow(MainWindow):
self.update_play_action('Play') self.update_play_action('Play')
self.stop_action.setEnabled(False) self.stop_action.setEnabled(False)
self.tts.stop() self.tts.stop()
c = self.display.textCursor()
c.setPosition(0)
self.display.setTextCursor(c)
def create_marked_text(self): def create_marked_text(self):
c = self.display.textCursor() c = self.display.textCursor()