summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-06-06 21:46:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-06-06 21:46:38 +0300
commitfedcdca7ed8f402550227c5c6e9c1d28417b896c (patch)
tree763b0e4d60868cbb49c3fa41db7d5d59cc2b3087 /src/core
parent8fe9342d3a1bf4ce81becd462f2709a29bc5eed4 (diff)
fixes #2905 (Issues while searching in user history)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stduihist/src/history.cpp2
1 files changed, 1 insertions, 1 deletions
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: