Added "Playing..." indicator for "Preview" button in the voice mixer

This commit is contained in:
Deniz Şafak
2025-05-08 16:38:24 +03:00
parent 311cdaeae1
commit a691b9af58
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
# v1.0.7 (pre-release)
- Ignore chapter markers and single newlines when calculating text length.
- Added "Playing..." indicator for "Preview" button in the voice mixer.
# v1.0.6
- Added `Insert chapter marker` button in text editor to insert chapter markers at the current cursor position.
+2
View File
@@ -1376,6 +1376,8 @@ class VoiceFormulaDialog(QDialog):
# Mark when playback starts
if parent.preview_playing:
self._started = True
# Update button text to "Playing..." when playback starts
self.btn_preview_mix.setText("Playing...")
# Once started and then stopped, re-enable
elif getattr(self, "_started", False):
self.btn_preview_mix.setEnabled(True)