clear height cache if model is cleared

This commit is contained in:
jensgoe
2018-12-19 20:45:32 +01:00
parent 7ab9e992b6
commit 12edcbccc8

View File

@@ -3018,6 +3018,7 @@ bool wxDataViewMainWindow::Cleared()
DestroyTree();
m_selection.Clear();
m_currentRow = (unsigned)-1;
m_rowHeightCache->Clear();
if (GetModel())
{