diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-09 21:45:04 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-09 21:45:04 +0300 |
commit | 8da81482d5ede38b29e9acdd38a400ab4e7fc8fc (patch) | |
tree | 0079c14b19b3d4199e09fcf187405e2d5c688514 /plugins | |
parent | 2c60bdb440a4c67591e4d3e2584881da0f4bd74a (diff) |
NewStory: fix for right click + Quote
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |