Attempt to fix a bug where inputting invalid files would crash the program
Reset UI when files are added
Future Improvements
Actually fix the bug (see notes)
Notes
The functions being wrapped sometimes doesn't throw anything when an error happens (std::stoi is probably the cause here). There are three possibilities when I was testing: an exception is thrown and caught (good), no exception was thrown and program continues execution (eh), or the program crashes (bad).
Key features
Future Improvements
Notes
The functions being wrapped sometimes doesn't throw anything when an error happens (
std::stoi
is probably the cause here). There are three possibilities when I was testing: an exception is thrown and caught (good), no exception was thrown and program continues execution (eh), or the program crashes (bad).