ladybird/Userland/Applications/Assistant
Andreas Kling 9179a2ea73 Assistant: Fix crash when activating empty search result
If there are no search results in the list, we shouldn't do anything
when you try to active the selected result, since there isn't one.

Fix this by using an Optional<size_t> to store the selected index.
2021-06-29 13:08:21 +02:00
..
CMakeLists.txt Userland: Add new app called Assistant 2021-06-28 16:29:02 +02:00
FuzzyMatch.cpp Userland: Add new app called Assistant 2021-06-28 16:29:02 +02:00
FuzzyMatch.h Userland: Add new app called Assistant 2021-06-28 16:29:02 +02:00
main.cpp Assistant: Fix crash when activating empty search result 2021-06-29 13:08:21 +02:00
Providers.cpp Userland: Add new app called Assistant 2021-06-28 16:29:02 +02:00
Providers.h Userland: Add new app called Assistant 2021-06-28 16:29:02 +02:00