Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2020-08-03 13:27:37 +0300
committerGhostkeeper <rubend@tutanota.com>2020-08-03 13:27:37 +0300
commit877e2213dea34fb45e25d834cab66b11ad30522a (patch)
tree76b2d8389b21841ef663c5a609c17cc093452814 /resources
parentb2ca6a9224fae7d971458e84f976fba664378aee (diff)
Fix disabling of zoom-to-mouse preference in orthographic camera mode
It doesn't work then. Done as a 5-minute-fix.
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/Preferences/GeneralPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/Preferences/GeneralPage.qml b/resources/qml/Preferences/GeneralPage.qml
index 62768556e4..f608d874b8 100644
--- a/resources/qml/Preferences/GeneralPage.qml
+++ b/resources/qml/Preferences/GeneralPage.qml
@@ -409,7 +409,7 @@ UM.PreferencesPage
text: catalog.i18nc("@action:button", "Zoom toward mouse direction")
checked: boolCheck(UM.Preferences.getValue("view/zoom_to_mouse")) && zoomToMouseCheckbox.enabled
onClicked: UM.Preferences.setValue("view/zoom_to_mouse", checked)
- enabled: UM.Preferences.getValue("general/camera_perspective_mode") !== "orthogonal"
+ enabled: UM.Preferences.getValue("general/camera_perspective_mode") !== "orthographic"
}
//Because there is no signal for individual preferences, we need to manually link to the onPreferenceChanged signal.