Skip to content

Commit 10f92d1

Browse files
danttiAllen Winter
authored and
Allen Winter
committed
Fix Connection, on<foo>Changed signals do not always include the property
1 parent d7aac54 commit 10f92d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/view/qml/StateMachineViewToolBar.qml

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ ToolBar {
113113
onValueChanged: root.stateMachineView.zoom = value
114114
Connections {
115115
target: root.stateMachineView
116-
function onZoomChanged(zoom) {
117-
zoomSlider.value = zoom;
116+
function onZoomChanged() {
117+
zoomSlider.value = root.stateMachineView.zoom;
118118
}
119119
}
120120
}

0 commit comments

Comments
 (0)