This is actually a report on a bug that is FINALLY fixed.
I’ve known for awhile now of a bug that pops up when you Open a pattern… and then Close the pattern, and procede to start a new pattern. As soon as you click OK after adding the first tool.. the app throws a warning message box - with NO warning text? (odd in itself) - and then crashes when you close the warning. This only happens when you Open a pattern, Close, then start a New pattern. If you started with a New pattern , Close’d, and start another New pattern the app would not crash. This has been in the app forever, and is still in the “other” app we don’t speak of.
I spent the last several days running the debugger and stepping through trying to find why and where the app was crashing. Along with zeroing in on where I thought the issue is, I found that the app will also crash if after starting a New pattern… and the first block A point is created - just opening the History causes the app too crash. AHA! The History was never being cleared when closing, which causes the crash when you Open, Close, New. I was always baffled before as in the mainWindow->clear() routine it calls doc->clear()…
which I always assumed it cleared the pattern class when a pattern was closed. Nope. There is no doc->clear()… and the compiler has never complained… hmmm.
At any rate… creating a clear() routine to clear the history did the trick. ![]()
The reason why I was looking at this again is that if a user had the History open when Closing a pattern, the History table was still open filled with the closed pattern data. So now the History window will also close when you close a pattern.

