diff options
author | George Hazan <george.hazan@gmail.com> | 2023-08-19 19:24:04 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-08-19 19:24:04 +0300 |
commit | f351f4eaa3808b6b5c873cccc7072da2e0c86c8a (patch) | |
tree | 34d7107c5a923155262c3bb6365f8301d2bd0f60 /plugins | |
parent | 444338b0b7ac582a3208a06b0a1847c8e6dc5d3c (diff) |
fixes #3646 (NewStory: меню контакта в системной истории)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewStory/src/history_dlg.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/NewStory/src/history_dlg.cpp b/plugins/NewStory/src/history_dlg.cpp index 9bb1f2e790..968e72974e 100644 --- a/plugins/NewStory/src/history_dlg.cpp +++ b/plugins/NewStory/src/history_dlg.cpp @@ -439,6 +439,11 @@ public: if (m_hContact != INVALID_CONTACT_ID) { Utils_RestoreWindowPosition(m_hwnd, m_hContact, MODULENAME, "wnd_"); + if (!m_hContact) { + btnUserInfo.Disable(); + btnSendMsg.Disable(); + } + m_histCtrl->AddEvent(m_hContact, 0, -1); TimeTreeBuild(); |