mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Accept Enter key on UM3 Add Printer Dialog
This commit is contained in:
parent
a5033bae54
commit
c2dff9fcd9
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue