Describe your problem:
When you try to select a sorting algorithm that does not exists and load it, the program just stops and can't do anything. Restarting the program solves the issue.
Steps to reproduce:
- Select a non-defined algorithm with the arrow keys and start pressing space
Possible fix (optional):
Make sure that sortType it's associated to a sorting algorithm in sf::Keyboard::Up and sf::Keyboard::Down events, in main.cpp
OS
Describe your problem:
When you try to select a sorting algorithm that does not exists and load it, the program just stops and can't do anything. Restarting the program solves the issue.
Steps to reproduce:
Possible fix (optional):
Make sure that
sortTypeit's associated to a sorting algorithm insf::Keyboard::Upandsf::Keyboard::Downevents, inmain.cppOS