mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 11:21:14 -07: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
1 changed files with 4 additions and 0 deletions
|
|
@ -85,4 +85,8 @@ UM.Dialog
|
|||
onClicked: { handler.onLicenseDeclined(packageId) }
|
||||
}
|
||||
]
|
||||
|
||||
onAccepted: { handler.onLicenseAccepted(packageId) }
|
||||
onRejected: { handler.onLicenseDeclined(packageId) }
|
||||
onClosing: { handler.onLicenseDeclined(packageId) }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue