diff --git a/codeaide/ui/chat_window.py b/codeaide/ui/chat_window.py index 447208a..35f1f9a 100644 --- a/codeaide/ui/chat_window.py +++ b/codeaide/ui/chat_window.py @@ -597,12 +597,12 @@ def start_recording(self): for widget in self.widgets_to_disable_when_recording: widget.setEnabled(False) - # Add "Recording" text to the input box + # Add "Recording..." text to the input box current_text = self.input_text.toPlainText() if current_text: - new_text = current_text + " Recording... " + new_text = current_text + " Recording..." else: - new_text = "Recording... " + new_text = "Recording..." self.input_text.setPlainText(new_text) self.input_text.setReadOnly(True) @@ -618,9 +618,9 @@ def stop_recording(self): self.is_recording = False self.set_record_button_style(False) - # Remove "Recording" text and add "Transcribing..." + # Replace "Recording..." text with "Transcribing..." current_text = self.input_text.toPlainText() - new_text = current_text.replace("Recording... ", "Transcribing... ") + new_text = current_text.replace("Recording...", "Transcribing...") self.input_text.setPlainText(new_text) # Re-enable widgets