summaryrefslogtreecommitdiff
path: root/plugins/IEHistory/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IEHistory/src/services.cpp')
-rw-r--r--plugins/IEHistory/src/services.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/IEHistory/src/services.cpp b/plugins/IEHistory/src/services.cpp
index 0cbd957e0a..75d16a6e1d 100644
--- a/plugins/IEHistory/src/services.cpp
+++ b/plugins/IEHistory/src/services.cpp
@@ -55,7 +55,8 @@ INT_PTR ShowContactHistoryService(WPARAM wParam, LPARAM lParam)
SetWindowLongPtr(historyDlg, DWLP_USER, (LONG_PTR)data);
WindowList_Add(hOpenWindowsList, historyDlg, (MCONTACT) wParam);
- }
+ }else
+ SetForegroundWindow(historyDlg);
ShowWindow(historyDlg, SW_SHOWNORMAL);
return 0;
}