Closed x-qq closed 1 year ago
I'm guessing that the first crash in this list is fixed now along with #301
I reproduced the second crash on Windows. It came with an error message:
The crash also happens if you do set a scenario event timer.
It's happening here: https://github.com/calref/cboe/blob/master/src/scenedit/scen.core.cpp#L3145
i + 1
is making it try to access time11, so I think it's an off-by-1 error.
That was wrong, sorry. It's here: https://github.com/calref/cboe/blob/master/src/scenedit/scen.core.cpp#L3109
Looks like the UI allows editing 10 when there are 20 (there's a TODO at the location of my last comment indicating this) but the save function is trying to save out text fields from 20 controls.
I think a stack widget could be added to hold 2 pages of fields for 10 events each.
I'm guessing that the first crash in this list is fixed now along with #301
On this point I was also wrong. Windows and Linux both crash with an error message when you cancel the file browser to import outdoor sections AND import towns.
This issue can be closed now.