Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit cb4cbed1 authored by Jouni Pentikäinen's avatar Jouni Pentikäinen

Fix crash by assert when trying to PgUp into reference images layer

parent e403fe31
......@@ -100,6 +100,8 @@ bool KisNodeFilterProxyModel::filterAcceptsRow(int source_row, const QModelIndex
KIS_ASSERT_RECOVER(m_d->nodeModel) { return true; }
const QModelIndex index = sourceModel()->index(source_row, 0, source_parent);
if (!index.isValid()) return false;
KisNodeSP node = m_d->nodeModel->nodeFromIndex(index);
return !node ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment