Changing the thumbnail ordering in a project with no photos causes a crash
- Start in debug mode.
- Open a project with no photos.
- Change "Sort by" from "image name" to "time of import" (or the other way round). Program crashes:
Traceback (most recent call last):
File "D:\work\arthropods\arthropoddescriber2repository\arthropod_describer_py\maphis\app.py", line 526, in sort_by
sel_index = self.image_list.selectedIndexes()[0]
IndexError: list index out of range
Process finished with exit code 1
Edited by Karel Štěpka