jansorg / tom-ui

Qt5-based user interface for the tom time tracker
https://www.tomtime.dev
GNU General Public License v3.0
8 stars 2 forks source link

Remove line breaks when pasting into the project name field #88

Closed tanius closed 5 years ago

tanius commented 5 years ago

When choosing "Create new subproject…" and then pasting a name that contains a line break (as it accidentally happens when copying from PDF), that line break will become part of the project name after confirming the dialog. But in such a way that only the part after that line break is shown in the project tree.

Replacing all line break characters with space characters would help. Anyway, this is quite an edge case …

jansorg commented 5 years ago

Should be fixed with the next update