<div dir="ltr">Hi All,<div><br></div><div>I'm using QAbstractItemModel with QTreeView in PyQt5.6-Py3.5. When I callĀ </div><div><br></div><div>model.beginInsertRows(index,i,i) the app crashes. If I try to add children under root index it's working fine. But If I try to add rows on any other index the app crashes. I'm quite sure that it worked without any issues in PyQt4.<br></div><div><br></div><div>Any help would be appreciated. Thanks.</div></div>