aboutsummaryrefslogtreecommitdiff
path: root/c/data.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-24 14:09:48 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-24 14:09:48 +0200
commitff48d644a45dd71098ecb9007a41807fb37d0081 (patch)
tree9af217655828fc89456df2a25a6bedc41e006fd4 /c/data.cpp
parent982ff70193bca89facf898dad9f78fbaf6408219 (diff)
downloadEpisodeBrowser-ff48d644a45dd71098ecb9007a41807fb37d0081.tar.gz
Gray out Cancel immediately after it has been pressed.
Diffstat (limited to 'c/data.cpp')
-rw-r--r--c/data.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/data.cpp b/c/data.cpp
index d9401c9..0ac27ce 100644
--- a/c/data.cpp
+++ b/c/data.cpp
@@ -145,6 +145,7 @@ void WaitFor(void (*f)(unsigned char*))
/* Null indicates that any active task should be cancelled. */
if (!f) {
sig |= ABORT;
+ EnableMenuItem(GetMenu(g_hWnd), IDM_FILE_FETCH_CANCEL, MF_GRAYED);
return;
}