mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 23:05:57 +08:00
Fix toggle indicator camera view
Setting the checked state in the javascript caused the binding to be broken. Stupid mistake and I should have known better... CURA-8664
This commit is contained in:
parent
a35fcf493a
commit
e02b179fae
@ -51,7 +51,6 @@ Menu
|
|||||||
onTriggered:
|
onTriggered:
|
||||||
{
|
{
|
||||||
UM.Preferences.setValue("general/camera_perspective_mode", "perspective")
|
UM.Preferences.setValue("general/camera_perspective_mode", "perspective")
|
||||||
checked = cameraViewMenu.cameraMode == "perspective"
|
|
||||||
}
|
}
|
||||||
exclusiveGroup: group
|
exclusiveGroup: group
|
||||||
}
|
}
|
||||||
@ -63,7 +62,6 @@ Menu
|
|||||||
onTriggered:
|
onTriggered:
|
||||||
{
|
{
|
||||||
UM.Preferences.setValue("general/camera_perspective_mode", "orthographic")
|
UM.Preferences.setValue("general/camera_perspective_mode", "orthographic")
|
||||||
checked = cameraViewMenu.cameraMode == "orthographic"
|
|
||||||
}
|
}
|
||||||
exclusiveGroup: group
|
exclusiveGroup: group
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user