mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Reset hover index when widget is cleared, don't leave it to be stale
This commit is contained in:
@@ -674,6 +674,8 @@ void RDTreeWidget::clear()
|
||||
m_root->clear();
|
||||
m_clearing = false;
|
||||
|
||||
m_currentHoverIndex = QModelIndex();
|
||||
|
||||
m_model->refresh();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user