From 8da81482d5ede38b29e9acdd38a400ab4e7fc8fc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 9 Nov 2023 21:45:04 +0300 Subject: NewStory: fix for right click + Quote --- plugins/NewStory/src/history_control.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 6f8e1934d4..7fdd524050 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -523,7 +523,8 @@ bool NewstoryListData::HasSelection() const { for (int i = 0; i < totalCount; i++) if (auto *p = GetItem(i)) - return true; + if (p->m_bSelected) + return true; return false; } -- cgit v1.2.3