We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d60644 commit e15d412Copy full SHA for e15d412
src/modules/value-editor/largetextmodel.cpp
@@ -47,7 +47,7 @@ void ValueEditor::LargeTextWrappingModel::setText(const QString &text)
47
48
void ValueEditor::LargeTextWrappingModel::cleanUp()
49
{
50
- emit beginRemoveRows(QModelIndex(), 0, rowCount());
+ emit beginRemoveRows(QModelIndex(), 0, rowCount() - 1);
51
m_textRows.clear();
52
emit endRemoveRows();
53
}
src/qml/value-editor/ValueTabs.qml
@@ -43,7 +43,7 @@ Repeater {
43
property var valueEditor
44
property var searchModel
45
46
- property variant keyModel: keyName ? valuesModel.getValue(keyIndex) : null
+ property variant keyModel: keyName ? valuesModel.value(keyIndex) : null
onKeyModelChanged: {
// On tab reload
0 commit comments