Merge pull request #1782 from LipuFei/enter_for_UM3_network_dialog

Accept Enter key on UM3 Add Printer Dialog
This commit is contained in:
Jaime van Kessel 2017-05-03 14:11:10 +02:00 committed by GitHub
commit b2d0642269

View File

@ -342,6 +342,8 @@ Cura.MachineAction
{ {
regExp: /[a-zA-Z0-9\.\-\_]*/ regExp: /[a-zA-Z0-9\.\-\_]*/
} }
onAccepted: btnOk.click()
} }
} }
@ -355,6 +357,7 @@ Cura.MachineAction
} }
}, },
Button { Button {
id: btnOk
text: catalog.i18nc("@action:button", "Ok") text: catalog.i18nc("@action:button", "Ok")
onClicked: onClicked:
{ {