Instead of resetting the focus back to the parent on the WM_DESTROY message, do it...
commit0586415946169ac21b2bf186a35560a6ab593a1f
authorSven Strickroth <email@cs-ware.de>
Sat, 1 Aug 2015 10:25:39 +0000 (1 12:25 +0200)
committerSven Strickroth <email@cs-ware.de>
Sat, 1 Aug 2015 10:42:42 +0000 (1 12:42 +0200)
tree6953031f652c299540ea6656b28ab171d7c433a6
parent498187ae570be479d495ae76d544ddb51c61bf0a
Instead of resetting the focus back to the parent on the WM_DESTROY message, do it right before the progress dialog closes but after attaching the thread to the main window queue

Based on TortoiseSVN revision 26347.

This also relates to issue #1536 and is a better fix for issue #1786.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
src/Utils/MiscUI/SysProgressDlg.cpp
src/Utils/MiscUI/SysProgressDlg.h