diff options
author | lupoDharkael <izhe@hotmail.es> | 2018-10-02 11:28:18 +0200 |
---|---|---|
committer | lupoDharkael <izhe@hotmail.es> | 2018-10-02 11:28:18 +0200 |
commit | 006021236a97bdc300f842864579899ee7fc8497 (patch) | |
tree | 5e4e4b78b9d6eefac05af418d98efb2765ab9008 /editor/project_manager.cpp | |
parent | c432ce4ee15fc396b2bccbbe2661b5bd34b9bee1 (diff) |
Project manager: remove projects with delete key
Diffstat (limited to 'editor/project_manager.cpp')
-rw-r--r-- | editor/project_manager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 91ab5b4dff..83de5a646a 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -999,6 +999,10 @@ void ProjectManager::_unhandled_input(const Ref<InputEvent> &p_ev) { _open_project(); } break; + case KEY_DELETE: { + + _erase_project(); + } break; case KEY_HOME: { for (int i = 0; i < scroll_children->get_child_count(); i++) { |