diff options
Diffstat (limited to 'c/main.cpp')
-rw-r--r-- | c/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -312,6 +312,7 @@ LRESULT CALLBACK HandleMsg(const HWND hWnd, const UINT uMsg, const WPARAM wParam /*IDM_FILE_REFRESH*/L"Quickly refresh episode list.", /*IDM_FILE_FETCH_DATA*/L"Fetch episode data from the web (may take a few seconds).", /*IDM_FILE_FETCH_SCREENWRITERS*/L"Fetch screenwriters from the web (may take a minute).", + /*IDM_FILE_FETCH_CANCEL*/L"Stop fetching data from the web.", /*IDM_FILE_ABOUT*/L"Show information about Episode Browser.", /*IDM_VIEW_WATCHED*/(g_cfg.bViewWatched? L"Click to hide watched episodes.": @@ -395,6 +396,10 @@ void HandleMainMenu(const HWND hWnd, const WORD command) WaitFor(FetchScreenwriters); break; + case IDM_FILE_FETCH_CANCEL: + WaitFor(nullptr); + break; + case IDM_FILE_ABOUT: DialogBox( GetModuleHandle(nullptr), |