Merge pull request #19634 from guilhermefelipecgs/fix_shortcut_conflict

Remove shortcut conflict
This commit is contained in:
Max Hilbrunner 2018-07-03 15:47:48 +02:00 committed by GitHub
commit 74369229de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4351,7 +4351,7 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) {
snap_button->set_toggle_mode(true);
snap_button->connect("toggled", this, "_button_toggle_snap");
snap_button->set_tooltip(TTR("Toggle snapping."));
snap_button->set_shortcut(ED_SHORTCUT("canvas_item_editor/use_snap", TTR("Use Snap"), KEY_S));
snap_button->set_shortcut(ED_SHORTCUT("canvas_item_editor/use_snap", TTR("Use Snap"), KEY_MASK_SHIFT | KEY_S));
snap_config_menu = memnew(MenuButton);
hb->add_child(snap_config_menu);