dcaliste updated this revision to Diff 40152.
dcaliste added a comment.

  I've added replacements for QAbstractItemModel::reset(). This allow to "lock" 
the model during the reset. So I've tried to put the beginResetModel() before 
the change of the private members, and the endResetModel() after.

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D14975?vs=40151&id=40152

REVISION DETAIL
  https://phabricator.kde.org/D14975

AFFECTED FILES
  libs/flake/tools/KoCreateShapeStrategy.cpp
  libs/flake/tools/KoShapeRubberSelectStrategy.cpp
  libs/kundo2/kundo2model.cpp
  libs/widgets/KoLineStyleModel.cpp
  libs/widgets/KoResourceModel.cpp

To: dcaliste, leinir, danders, #calligra:_3.0
Cc: anthonyfieroni, Calligra-Devel-list, cochise, vandenoever

Reply via email to