You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass the window's active state to UniversalSpeech.say so speech interruption depends on whether the SuraPlayer window is active. Replaces previous calls that omitted the interrupt argument or hardcoded interrupt=True with interrupt=self.isActiveWindow(). Also fixes spacing in the repeat counter formatting in the repeat message (SuraPlayerWindow in ui/sura_player_ui/sura_player_ui.py).
UniversalSpeech.say(f"تكرار سورة {self.surah_combo.currentText()}، {self.current_surah_repeat_count+1} من {repeat_count} مرات.", interrupt=True)
571
+
UniversalSpeech.say(f"تكرار سورة {self.surah_combo.currentText()}، {self.current_surah_repeat_count+1} من {repeat_count} مرات.", interrupt=self.isActiveWindow())
0 commit comments