summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Qt3DStudio/Palettes/Action/HandlerGenericFloat.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Qt3DStudio/Palettes/Action/HandlerGenericFloat.qml')
-rw-r--r--src/Authoring/Qt3DStudio/Palettes/Action/HandlerGenericFloat.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Authoring/Qt3DStudio/Palettes/Action/HandlerGenericFloat.qml b/src/Authoring/Qt3DStudio/Palettes/Action/HandlerGenericFloat.qml
index 11ac38a5..edc66c14 100644
--- a/src/Authoring/Qt3DStudio/Palettes/Action/HandlerGenericFloat.qml
+++ b/src/Authoring/Qt3DStudio/Palettes/Action/HandlerGenericFloat.qml
@@ -42,6 +42,8 @@ RowLayout {
signal editingFinished
signal previewValueChanged
+ signal triggerUndo
+ signal triggerRedo
onValueChanged: {
// FloatTextField can set its text internally, thus breaking the binding, so
@@ -59,5 +61,7 @@ RowLayout {
decimalValue: numberOfDecimal
onEditingFinished: root.editingFinished()
onPreviewValueChanged: root.previewValueChanged()
+ onTriggerUndo: root.triggerUndo()
+ onTriggerRedo: root.triggerRedo()
}
}