From f351f4eaa3808b6b5c873cccc7072da2e0c86c8a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 19 Aug 2023 19:24:04 +0300 Subject: =?UTF-8?q?fixes=20#3646=20(NewStory:=20=D0=BC=D0=B5=D0=BD=D1=8E?= =?UTF-8?q?=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B0=D0=BA=D1=82=D0=B0=20=D0=B2=20?= =?UTF-8?q?=D1=81=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D0=BD=D0=BE=D0=B9=20=D0=B8?= =?UTF-8?q?=D1=81=D1=82=D0=BE=D1=80=D0=B8=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/history_dlg.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/NewStory') 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(); -- cgit v1.2.3