summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/NewStory/src/history_dlg.cpp5
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();