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
+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)