mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
parent
f3fe6beefc
commit
76296c82e7
@ -224,6 +224,7 @@ void QgsConfigureShortcutsDialog::loadShortcuts()
|
|||||||
actionName = child.attribute( "name" );
|
actionName = child.attribute( "name" );
|
||||||
actionShortcut = child.attribute( "shortcut" );
|
actionShortcut = child.attribute( "shortcut" );
|
||||||
action = QgsShortcutsManager::instance()->actionByName( actionName );
|
action = QgsShortcutsManager::instance()->actionByName( actionName );
|
||||||
|
if ( action )
|
||||||
QgsShortcutsManager::instance()->setActionShortcut( action, actionShortcut );
|
QgsShortcutsManager::instance()->setActionShortcut( action, actionShortcut );
|
||||||
child = child.nextSiblingElement();
|
child = child.nextSiblingElement();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user