Use model reset rather than beginRemoveRows() to clear font groups
Summary: Calling beginRemoveRows() when the model is empty hits an assert in QAbstractItemModel which requires that the "last" argument is less than model row count, which is not true when the model is empty. Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D11518
parent
fe3db8ee
Please register or sign in to comment