mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 02:58:59 +08:00
Accept Enter key on UM3 Add Printer Dialog
This commit is contained in:
parent
a5033bae54
commit
c2dff9fcd9
@ -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:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user