summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r--plugins/Scriver/src/msgdialog.cpp2
-rw-r--r--plugins/Scriver/src/msgs.h1
-rw-r--r--plugins/Scriver/src/msgutils.cpp5
3 files changed, 6 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp
index c69bf8a266..c9d6c1869e 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -1077,7 +1077,7 @@ INT_PTR CMsgDialog::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
case DM_REMAKELOG:
if (wParam == 0 || wParam == m_hContact)
- m_pLog->LogEvents(m_hDbEventFirst, -1, 0);
+ RemakeLog();
InvalidateRect(m_pLog->GetHwnd(), nullptr, FALSE);
break;
diff --git a/plugins/Scriver/src/msgs.h b/plugins/Scriver/src/msgs.h
index 936da01f5d..c6422300d7 100644
--- a/plugins/Scriver/src/msgs.h
+++ b/plugins/Scriver/src/msgs.h
@@ -133,6 +133,7 @@ public:
void EventAdded(MEVENT, const DB::EventInfo &dbei) override;
bool GetFirstEvent() override;
void LoadSettings() override;
+ void RemakeLog() override;
void SetStatusText(const wchar_t *, HICON) override;
void ShowFilterMenu() override;
void UpdateFilterButton() override;
diff --git a/plugins/Scriver/src/msgutils.cpp b/plugins/Scriver/src/msgutils.cpp
index e0e8cd0325..bb9da0e619 100644
--- a/plugins/Scriver/src/msgutils.cpp
+++ b/plugins/Scriver/src/msgutils.cpp
@@ -344,7 +344,10 @@ void CMsgDialog::Reattach(HWND hwndContainer)
}
}
-/////////////////////////////////////////////////////////////////////////////////////////
+void CMsgDialog::RemakeLog()
+{
+ m_pLog->LogEvents(m_hDbEventFirst, -1, 0);
+}
void CMsgDialog::SetDialogToType()
{