clear height cache if model is cleared
This commit is contained in:
@@ -3018,6 +3018,7 @@ bool wxDataViewMainWindow::Cleared()
|
|||||||
DestroyTree();
|
DestroyTree();
|
||||||
m_selection.Clear();
|
m_selection.Clear();
|
||||||
m_currentRow = (unsigned)-1;
|
m_currentRow = (unsigned)-1;
|
||||||
|
m_rowHeightCache->Clear();
|
||||||
|
|
||||||
if (GetModel())
|
if (GetModel())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user