mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 20:25:55 +08:00
Correctly handle accept and reject hotkeys in marketplace license dialog
Accept license on "enter" Reject license on "escape" or dialog close cura 8587
This commit is contained in:
parent
71a43060a6
commit
dc03a7fdcb
@ -85,4 +85,8 @@ UM.Dialog
|
|||||||
onClicked: { handler.onLicenseDeclined(packageId) }
|
onClicked: { handler.onLicenseDeclined(packageId) }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
onAccepted: { handler.onLicenseAccepted(packageId) }
|
||||||
|
onRejected: { handler.onLicenseDeclined(packageId) }
|
||||||
|
onClosing: { handler.onLicenseDeclined(packageId) }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user