diff --git a/src/model/xqviewmodel.cpp b/src/model/xqviewmodel.cpp index 8882622..7c9e22c 100644 --- a/src/model/xqviewmodel.cpp +++ b/src/model/xqviewmodel.cpp @@ -47,6 +47,12 @@ XQViewModel::XQViewModel( QObject* parent ) { invisibleRootItem()->setData( "[rootItem]", Qt::DisplayRole ); setItemPrototype( new XQItem ); + + connect(this, &QStandardItemModel::itemChanged, this, [](QStandardItem *item) + { + qDebug() << " --- item changed: " << item->text(); + }); + } @@ -175,7 +181,7 @@ void YourClass::onItemChanged(const QModelIndex &topLeft, const QModelIndex &bot } } } - +*/ }