From 4fcff045a8eb3c9224e64a808bb9c01dd476ff2f Mon Sep 17 00:00:00 2001 From: Igor Malinovskiy Date: Fri, 27 Mar 2020 00:35:56 +0200 Subject: [PATCH] Fix regression in updateRow method --- src/modules/value-editor/valueviewmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/value-editor/valueviewmodel.cpp b/src/modules/value-editor/valueviewmodel.cpp index 8de0c803..1a6651ae 100644 --- a/src/modules/value-editor/valueviewmodel.cpp +++ b/src/modules/value-editor/valueviewmodel.cpp @@ -244,7 +244,7 @@ void ValueEditor::ValueViewModel::updateRow(int rowIndex, const QVariantMap& row emit error(err); return; } - emit dataChanged(index(rowIndex, 0), index(rowIndex, 0)); + emit dataChanged(index(rowIndex, 0), index(rowIndex, m_model->getColumnNames().size() - 1)); }); }