Add Ctrl+Q quit shortcut for non-Mac
This commit is contained in:
@@ -13,7 +13,8 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
BackShortcuts = []desktop.CustomShortcut{
|
||||
QuitShortcut *desktop.CustomShortcut = nil // Fyne already adds Cmd+Q
|
||||
BackShortcuts = []desktop.CustomShortcut{
|
||||
{Modifier: fyne.KeyModifierSuper, KeyName: fyne.KeyLeft},
|
||||
{Modifier: fyne.KeyModifierSuper, KeyName: fyne.KeyLeftBracket},
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
QuitShortcut = &desktop.CustomShortcut{Modifier: KeyModifierControl, KeyName: fyne.KeyQ}
|
||||
BackShortcuts = []desktop.CustomShortcut{
|
||||
{Modifier: fyne.KeyModifierAlt, KeyName: fyne.KeyLeft},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user