Merge pull request #4170 from Ultimaker/focus_layer_slider

CURA-5613 Set the focus in the upper handle in the layer view
This commit is contained in:
Lipu Fei 2018-08-01 11:26:30 +02:00 committed by GitHub
commit e582886e16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,10 +25,6 @@ UM.PointingRectangle {
width: valueLabel.width + UM.Theme.getSize("default_margin").width
visible: false
// make sure the text field is focussed when pressing the parent handle
// needed to connect the key bindings when switching active handle
onVisibleChanged: if (visible) valueLabel.forceActiveFocus()
color: UM.Theme.getColor("tool_panel_background")
borderColor: UM.Theme.getColor("lining")
borderWidth: UM.Theme.getSize("default_lining").width