From 6417935db337da37eb829d35487dbfda49ed1092 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 17 Oct 2020 21:17:13 +0300 Subject: NewStory: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fixes #2416 (NewStory: add ability to delete only selected messages) - fixes #2423 (NewStory: если выделено одно сообщение, а щёлкнуть ПКМ по другому, то копирование и редактирование ведут себя по-разному); - fixes #2452 (NewStory: add multiple messages selection ability without keyboard) --- plugins/NewStory/src/history_array.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/NewStory/src/history_array.h') diff --git a/plugins/NewStory/src/history_array.h b/plugins/NewStory/src/history_array.h index 46e075c934..166dd48160 100644 --- a/plugins/NewStory/src/history_array.h +++ b/plugins/NewStory/src/history_array.h @@ -139,6 +139,8 @@ public: ItemData* get(int id, bool bLoad = false); ItemData* operator[] (int id) { return get(id, true); } + void remove(int idx); + int FindRel(int id, int dir, Filter filter) { int count = getCount(); -- cgit v1.2.3