mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Hide tooltips when TreeListView is destroyed so they don't linger
This commit is contained in:
@@ -216,6 +216,14 @@ namespace TreelistView
|
||||
AddScrollBars();
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
m_tooltipTimer.Stop();
|
||||
m_tooltip.Hide(this);
|
||||
m_tooltip.Dispose();
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
void tooltipTick(object sender, EventArgs e)
|
||||
{
|
||||
m_tooltipTimer.Stop();
|
||||
|
||||
Reference in New Issue
Block a user