PrismLauncher/application
Jamie Mansfield 8e6400e8d8
NOISSUE Fix edgecase where new searches won't be processed
This resolves an issue with the modpacks.ch search functionality, in
which a search issued while one is currently in progress won't be made
and the UI won't allow for the search to be made after.

Reproduction Steps:
1. Open the FTB pane in the Add Instance Dialog
2. Perform a search while MMC is still performing the initial search

The search won't be performed, the existing search will have been
aborted, and you are unable to try the search again (without trying a
different search in the meantime).

This was caused by 2 things:
1. A search cannot be re-attempted, and this logic doesn't consider
   failures.
2. The failure slot wasn't called when the NetJob was aborted, so
   the search would never be performed - but the term would be
   stored as if it had (trigering point 1).

I have resolved this by doing 2 things:
1. If the failure slot is called, set a searchState of Failed. Allow
   search re-attempts in this case.
2. If there is a present NetJob, abort and reset it. The immediately
   continue with the search.
2021-03-26 20:03:57 +00:00
..
dialogs NOISSUE rename Twitch to flame internally for consistency and to CurseForge for user displayed strings 2021-03-24 00:59:43 +01:00
groupview NOISSUE Update Copyright Year 2021-01-18 08:28:54 +01:00
package NOISSUE update ubuntu packaging bits 2021-03-26 01:48:37 +01:00
pagedialog NOISSUE Update Copyright Year 2021-01-18 08:28:54 +01:00
pages NOISSUE Fix edgecase where new searches won't be processed 2021-03-26 20:03:57 +00:00
resources NOISSUE rename Twitch to flame internally for consistency and to CurseForge for user displayed strings 2021-03-24 00:59:43 +01:00
setupwizard NOISSUE Update Copyright Year 2021-01-18 08:28:54 +01:00
themes NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
widgets NOISSUE Update Copyright Year 2021-01-18 08:28:54 +01:00
CMakeLists.txt NOISSUE rename Twitch to flame internally for consistency and to CurseForge for user displayed strings 2021-03-24 00:59:43 +01:00
ColorCache.cpp NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
ColorCache.h NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
ColumnResizer.cpp NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
ColumnResizer.h NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
GuiUtil.cpp NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
GuiUtil.h GH-1314 add UI for custom minecraft jar addition 2017-08-07 00:46:29 +02:00
HoeDown.h NOISSUE Update Copyright Year 2021-01-18 08:28:54 +01:00
install_prereqs.cmake.in NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
InstancePageProvider.h NOISSUE convert rest of the instance pages to use toolbars for side menus 2019-07-17 02:01:29 +02:00
InstanceProxyModel.cpp NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
InstanceProxyModel.h NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
InstanceWindow.cpp Merge pull request #3538 from Scotsguy/develop 2021-02-07 02:23:31 +01:00
InstanceWindow.h NOISSUE Update Copyright Year 2021-01-18 08:28:54 +01:00
JavaCommon.cpp NOISSUE add 'java.vendor' to the checker and display/log the value 2020-09-07 22:28:41 +02:00
JavaCommon.h NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
KonamiCode.cpp NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
KonamiCode.h NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
LaunchController.cpp Cleaned up messages, made some more descriptive, made some nicer. 2019-09-14 22:31:13 -05:00
LaunchController.h GH-2591 less std::shared_ptr and more shared_qobject_ptr 2019-04-07 23:59:04 +02:00
main.cpp GH-2859 remove twitch page and modpack import from URL 2019-11-18 00:38:36 +01:00
MainWindow.cpp NOISSUE Swap discord invite with vanity url 2021-02-09 22:00:20 +01:00
MainWindow.h NOISSUE Update Copyright Year 2021-01-18 08:28:54 +01:00
MultiMC.cpp Merge pull request #3538 from Scotsguy/develop 2021-02-07 02:23:31 +01:00
MultiMC.h GH-2988 add --import command-line option 2020-02-24 18:52:26 +01:00
UpdateController.cpp NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
UpdateController.h NOISSUE tabs -> spaces 2018-07-15 14:51:05 +02:00
VersionProxyModel.cpp GH-2144 Fix translatable string 2018-11-12 01:57:26 +01:00
VersionProxyModel.h GH-2144 Append '(installed)' to the installed version name 2018-11-12 01:49:52 +01:00