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:
parent
f6fa0aa997
commit
7a207df0f3
3 changed files with 68 additions and 5 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue