diff options
-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; } |