mirror of
https://github.com/Relintai/godot-engine.file-editor.git
synced 2025-02-22 07:37:57 +01:00
Remove keybind from the delete file option.
This commit is contained in:
parent
cdd7a73813
commit
d86aa13668
@ -124,10 +124,11 @@ func _init() -> void:
|
|||||||
hotkey.alt = true
|
hotkey.alt = true
|
||||||
file_btn_popup.add_item("Save File as...", FileMenuOptions.FILE_MENU_OPTION_SAVE_AS, hotkey.get_scancode_with_modifiers())
|
file_btn_popup.add_item("Save File as...", FileMenuOptions.FILE_MENU_OPTION_SAVE_AS, hotkey.get_scancode_with_modifiers())
|
||||||
|
|
||||||
hotkey = InputEventKey.new()
|
#hotkey = InputEventKey.new()
|
||||||
hotkey.scancode = KEY_D
|
#hotkey.scancode = KEY_D
|
||||||
hotkey.control = true
|
#hotkey.control = true
|
||||||
file_btn_popup.add_item("Delete File", FileMenuOptions.FILE_MENU_OPTION_DELETE, hotkey.get_scancode_with_modifiers())
|
#file_btn_popup.add_item("Delete File", FileMenuOptions.FILE_MENU_OPTION_DELETE, hotkey.get_scancode_with_modifiers())
|
||||||
|
file_btn_popup.add_item("Delete File", FileMenuOptions.FILE_MENU_OPTION_DELETE)
|
||||||
|
|
||||||
file_btn_popup.add_separator()
|
file_btn_popup.add_separator()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user