diff options
Diffstat (limited to 'plugins/Import/src/import.cpp')
-rw-r--r-- | plugins/Import/src/import.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/Import/src/import.cpp b/plugins/Import/src/import.cpp index 4d4904b6bc..0d9bef7cdf 100644 --- a/plugins/Import/src/import.cpp +++ b/plugins/Import/src/import.cpp @@ -303,6 +303,7 @@ static INT_PTR CALLBACK AccountsMatcherProc(HWND hwndDlg, UINT uMsg, WPARAM wPar switch (uMsg) {
case WM_INITDIALOG:
TranslateDialogDefault(hwndDlg);
+ hwndAccMerge = hwndDlg;
hwndList = GetDlgItem(hwndDlg, IDC_LIST);
{
LVCOLUMN col = { 0 };
@@ -346,6 +347,14 @@ static INT_PTR CALLBACK AccountsMatcherProc(HWND hwndDlg, UINT uMsg, WPARAM wPar }
break;
+ case WM_CLOSE:
+ DestroyWindow(hwndDlg);
+ break;
+
+ case WM_DESTROY:
+ hwndAccMerge = NULL;
+ break;
+
case WM_NOTIFY:
LPNMHDR hdr = (LPNMHDR)lParam;
if (hdr->idFrom != IDC_LIST)
|