summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qaxis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/frontend/qaxis.cpp')
-rw-r--r--src/input/frontend/qaxis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/frontend/qaxis.cpp b/src/input/frontend/qaxis.cpp
index 7c9998776..b6018c887 100644
--- a/src/input/frontend/qaxis.cpp
+++ b/src/input/frontend/qaxis.cpp
@@ -115,7 +115,7 @@ void QAxis::addInput(QAbstractAxisInput *input)
// Ensures proper bookkeeping
d->registerDestructionHelper(input, &QAxis::removeInput, d->m_inputs);
- d->update();
+ d->updateNode(input, "input", Qt3DCore::PropertyValueAdded);
}
}
@@ -137,7 +137,7 @@ void QAxis::removeInput(QAbstractAxisInput *input)
Q_D(QAxis);
if (d->m_inputs.contains(input)) {
- d->update();
+ d->updateNode(input, "input", Qt3DCore::PropertyValueRemoved);
d->m_inputs.removeOne(input);