diff --git a/qrenderdoc/Windows/EventBrowser.cpp b/qrenderdoc/Windows/EventBrowser.cpp index aba359dbc..39753e2ff 100644 --- a/qrenderdoc/Windows/EventBrowser.cpp +++ b/qrenderdoc/Windows/EventBrowser.cpp @@ -249,7 +249,7 @@ struct EventItemModel : public QAbstractItemModel void SetTimes(const rdcarray ×) { // set all times for events to -1.0 - m_Times.fill(m_Nodes[0].effectiveEID + 1, -1.0); + m_Times.fill(m_Actions.size() + 1, -1.0); // fill in the actual times for(const CounterResult &r : times)