shortcut attrib: allow multiple shortcuts per widget

This commit is contained in:
airstruck
2016-01-27 16:56:39 -05:00
parent 0c33538de9
commit f9a8ffa2e2
3 changed files with 32 additions and 16 deletions

View File

@@ -28,7 +28,7 @@ return { id = 'mainWindow',
},
},
{ style = 'toolbar',
{ id = 'newButton', style = 'toolButton', shortcut = 'z',
{ id = 'newButton', style = 'toolButton', shortcut = { 'z', 'x' },
icon = 'icon/32px/Blueprint.png',
status = 'Create a new thing' },
{ id = 'loadButton', style = 'toolButton',