Closed robin7331 closed 3 years ago
Yep, I think your diagnosis is correct.
When m_MultiLineText
and ReGeneratePreview
is called it produces this error.
This might also be a good situation for including a Dialog if the entered text is longer than x chars to prevent any crazy preview rendering from happening when you accidentally paste long test as you mentioned in #34 ?
Good idea! Added in 6a38106007782ce2781be51fe3b96dc81964e260 and 98883e052a326fb46cd69417a20663c3c16ea51f
Sweet. The issue seems fixed. Cannot reproduce the problem anymore.
Cool! :+1:
When you have a fresh start of KiCad, you open KiBuzzard, leave everything as it is and close it, it will have this error when you reopen KiBuzzard again.
I assume it stores the empty text into the settings and then has a string parsing error when restarting and loading the settings. This is a little tricky to reproduce but occurs sometimes. I think a check wether the string is empty before generating the preview might fix it.
Traceback