Add missing source argument to onTriggered handler

Otherwise the source variable is always undefined.

Fixes #9621.
This commit is contained in:
Ghostkeeper 2021-05-07 02:25:05 +02:00
parent 34ba341115
commit 912a65b0f3
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -525,7 +525,7 @@ UM.MainWindow
Connections
{
target: Cura.Actions.configureSettingVisibility
function onTriggered()
function onTriggered(source)
{
preferences.visible = true;
preferences.setPage(1);