Torbjörn Andersson
20e09e6d56
GUI: Fix crash in setSelected() when the list index is empty
...
If the list is filtered, but _listIndex is empty, setSelected() would
trigger trigger an assertion because it tried to use the index value
from the unfiltered list. This would happen in the ScummVM launcher if
you filtered the list and then edited the game titles until nothing
matched your search condition any more.
Instead of checking if there is a filtered list, check if there is a
filter or not. That should hold true whether or not the filter actually
matched anything.
2020-12-29 23:31:07 +00:00
..
2020-12-10 23:18:36 +01:00
2020-12-29 23:31:07 +00:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-09-03 02:21:14 +02:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-09-03 02:21:14 +02:00
2020-12-19 02:06:44 +02:00
2020-12-15 12:46:07 +01:00
2020-12-15 12:46:07 +01:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-11-22 16:35:03 +00:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-09-24 16:54:11 +02:00
2020-09-23 21:52:10 +02:00
2020-09-03 02:21:14 +02:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-11-16 16:56:58 +00:00
2020-10-16 17:06:05 +02:00
2020-11-16 16:56:58 +00:00
2020-12-29 23:22:42 +00:00
2020-12-02 22:39:22 +00:00
2020-11-16 16:56:58 +00:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-09-03 02:21:14 +02:00
2020-11-22 16:45:17 +00:00
2020-10-04 23:59:26 +02:00
2020-10-04 23:59:26 +02:00
2020-10-03 14:56:36 +02:00
2020-11-16 16:56:58 +00:00
2020-11-04 22:27:24 +00:00
2020-12-02 22:39:22 +00:00
2020-06-24 02:01:11 +02:00
2020-11-03 23:47:23 +01:00
2020-09-23 21:52:10 +02:00
2020-09-03 02:21:14 +02:00
2020-09-03 02:21:14 +02:00
2020-11-16 16:56:58 +00:00
2020-08-30 14:43:41 +02:00
2020-11-16 16:56:58 +00:00
2020-11-16 16:56:58 +00:00
2020-11-16 16:56:58 +00:00