mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Properly refresh all rows when filter model changes
This commit is contained in:
@@ -158,6 +158,10 @@ public:
|
||||
void refresh()
|
||||
{
|
||||
emit beginResetModel();
|
||||
m_VisibleRows.clear();
|
||||
for(int i = 0; i < sourceModel()->rowCount(); i++)
|
||||
if(isVisibleRow(i))
|
||||
m_VisibleRows.push_back(i);
|
||||
emit endResetModel();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user