summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: