diff options
Diffstat (limited to 'plugins/NewStory/src/history_array.h')
-rw-r--r-- | plugins/NewStory/src/history_array.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/NewStory/src/history_array.h b/plugins/NewStory/src/history_array.h index ece447676d..50e6fb1c97 100644 --- a/plugins/NewStory/src/history_array.h +++ b/plugins/NewStory/src/history_array.h @@ -135,6 +135,11 @@ public: void addChatEvent(SESSION_INFO *si, LOGINFO *pEvent); void clear(); int getCount() const; + void reset() + { + clear(); + pages.insert(new ItemBlock()); + } // bool preloadEvents(int count = 10); |