diff --git a/qrenderdoc/Windows/EventBrowser.cpp b/qrenderdoc/Windows/EventBrowser.cpp index be2ea4346..f1397d370 100644 --- a/qrenderdoc/Windows/EventBrowser.cpp +++ b/qrenderdoc/Windows/EventBrowser.cpp @@ -241,6 +241,13 @@ struct EventItemModel : public QAbstractItemModel m_CurrentEID = createIndex(0, 0, TagCaptureStart); + m_Bookmarks.clear(); + m_BookmarkIndices.clear(); + + m_FindResults.clear(); + m_FindString.clear(); + m_FindEIDSearch = false; + RefreshCache(); } @@ -903,7 +910,7 @@ private: rdcarray m_BookmarkIndices; QString m_FindString; rdcarray m_FindResults; - bool m_FindEIDSearch; + bool m_FindEIDSearch = false; int32_t m_RenameCacheID; QString m_ParamColCode;