From fedcdca7ed8f402550227c5c6e9c1d28417b896c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 6 Jun 2021 21:46:38 +0300 Subject: fixes #2905 (Issues while searching in user history) --- src/core/stduihist/src/history.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/stduihist/src/history.cpp b/src/core/stduihist/src/history.cpp index aadf8491e5..bd99a7a685 100644 --- a/src/core/stduihist/src/history.cpp +++ b/src/core/stduihist/src/history.cpp @@ -244,7 +244,7 @@ static INT_PTR CALLBACK DlgProcHistory(HWND hwndDlg, UINT msg, WPARAM wParam, LP return TRUE; case IDC_FIND: - (new CHistoryFindDlg(hwndDlg))->Show(); + CHistoryFindDlg(hwndDlg).DoModal(); return TRUE; case IDC_DELETEHISTORY: -- cgit v1.2.3