diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-15 10:46:37 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-15 10:46:37 +0300 |
commit | 6471ea7eb9980bc55ad79a7f5ca622633a88bbb3 (patch) | |
tree | abde3e75c44cd6033ee951c42f94830e4086dd98 /plugins | |
parent | cfb2353a35c2275d1f8d45323817503ee6ddc4a4 (diff) |
fixes #3923 (NewStory: лишние кнопки в глобальном поиске)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewStory/src/history_dlg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_dlg.cpp b/plugins/NewStory/src/history_dlg.cpp index 4e74bbe53f..e7094db113 100644 --- a/plugins/NewStory/src/history_dlg.cpp +++ b/plugins/NewStory/src/history_dlg.cpp @@ -508,7 +508,7 @@ public: m_histCtrl = (NewstoryListData *)GetWindowLongPtr(m_histWindow.GetHwnd(), 0); - if (m_hContact <= 0) { + if (m_hContact == 0 || m_hContact == INVALID_CONTACT_ID) { btnSendMsg.Hide(); btnUserInfo.Hide(); btnUserMenu.Hide(); |