mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 13:21:34 +00:00
Fix comment in KeyboardShortcuts::importFile()
This commit is contained in:
parent
41d308f5da
commit
d5d1ac0d47
@ -347,9 +347,10 @@ void KeyboardShortcuts::importFile(TiXmlElement* rootElement, KeySource source)
|
||||
if (!removed) {
|
||||
key->add(accel, source);
|
||||
|
||||
// Add the shortcut to the menuitems with this
|
||||
// command (this is only visual, the "manager_msg_proc"
|
||||
// is the only one that process keyboard shortcuts)
|
||||
// Add the shortcut to the menuitems with this command
|
||||
// (this is only visual, the
|
||||
// "CustomizedGuiManager::onProcessMessage" is the only
|
||||
// one that process keyboard shortcuts)
|
||||
if (key->accels().size() == 1) {
|
||||
AppMenus::instance()->applyShortcutToMenuitemsWithCommand(
|
||||
command, params, key);
|
||||
|
Loading…
x
Reference in New Issue
Block a user