Avoid capturing checkbox/bullet etc in the task text that would get offered as the 'note' when Pomodoro timer stops. Some code block defenses for extra newline

This commit is contained in:
Miguel Jacq 2025-11-28 17:08:02 +11:00
parent f6fa0aa997
commit 7a207df0f3
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
3 changed files with 68 additions and 5 deletions

View file

@ -1206,7 +1206,8 @@ class MainWindow(QMainWindow):
return
# Get the current line text
line_text = editor.get_current_line_text().strip()
line_text = editor.get_current_line_task_text()
if not line_text:
line_text = strings._("pomodoro_time_log_default_text")