mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Fix crash if tooltip is still open when watch variable is deleted
This commit is contained in:
@@ -918,9 +918,9 @@ namespace renderdocui.Windows
|
||||
|
||||
ListView list = sender as ListView;
|
||||
|
||||
if (m_HoverItem != null)
|
||||
if (m_HoverItem != null && m_HoverItem.ListView != null)
|
||||
variableHover.Hide(m_HoverItem.ListView);
|
||||
if (m_HoverNode != null)
|
||||
if (m_HoverNode != null && m_HoverNode.OwnerView != null)
|
||||
variableHover.Hide(m_HoverNode.OwnerView);
|
||||
|
||||
hoverTimer.Enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user