Browse Source

Fixed usage of wrong checkbox in viewpage

Jaime van Kessel 9 years ago
parent
commit
21d8eb941b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/qml/ViewPage.qml

+ 1 - 1
resources/qml/ViewPage.qml

@@ -67,7 +67,7 @@ UM.PreferencesPage
 
             //: Display Overhang preference checkbox
             text: qsTr("Center camera when item is selected");
-            onClicked: overhangCheckbox.checked = !overhangCheckbox.checked
+            onClicked: centerCheckbox.checked = !centerCheckbox.checked
 
             //: Display Overhang preference tooltip
             tooltip: "Moves the camera so the object is in the center of the view when an object is selected"