setting row/columnCount to 0 when clearing the layout
This commit is contained in:
parent
3fee4907c0
commit
f251a5f1ec
@ -524,6 +524,8 @@ bool QskGridLayoutEngine::clear()
|
|||||||
m_data->rowSettings.clear();
|
m_data->rowSettings.clear();
|
||||||
m_data->columnSettings.clear();
|
m_data->columnSettings.clear();
|
||||||
|
|
||||||
|
m_data->rowCount = m_data->columnCount = 0;
|
||||||
|
|
||||||
invalidate();
|
invalidate();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user