mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-29 00:34:26 +03:00
use .command
instead of NSCommandKeyMask
This commit is contained in:
parent
911e860d36
commit
a1f827a4d8
@ -140,7 +140,7 @@ extension AppDelegate {
|
||||
let discardAndQuitButton = alert.addButton(withTitle: "Discard and Quit")
|
||||
alert.messageText = "There are windows with unsaved buffers!"
|
||||
alert.alertStyle = .warning
|
||||
discardAndQuitButton.keyEquivalentModifierMask = NSCommandKeyMask
|
||||
discardAndQuitButton.keyEquivalentModifierMask = .command
|
||||
discardAndQuitButton.keyEquivalent = "d"
|
||||
|
||||
if alert.runModal() == NSAlertSecondButtonReturn {
|
||||
|
Loading…
Reference in New Issue
Block a user