Disabled center_on_select for windows, as pyqt has a bug with it

This commit is contained in:
Jaime van Kessel 2017-03-28 10:21:52 +02:00
parent b67b41653f
commit 6367755875
2 changed files with 5 additions and 1 deletions

View file

@ -242,6 +242,7 @@ UM.PreferencesPage
text: catalog.i18nc("@action:button","Center camera when item is selected");
checked: boolCheck(UM.Preferences.getValue("view/center_on_select"))
onClicked: UM.Preferences.setValue("view/center_on_select", checked)
enabled: Qt.platform.os != "windows" // Hack: disable the feature on windows as it's broken for pyqt 5.7.1.
}
}