diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-05 22:01:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-05 22:01:57 +0200 |
commit | e490c16a3d0562271a310140f09a59f29c256d54 (patch) | |
tree | 433a98d2c96d334eea4190a253e91d74833c1c2e /editor/editor_node.cpp | |
parent | 7464074cb8e4b38fe9eb73952477f9ebf197cd82 (diff) | |
parent | dcd551bf782c8f07e676c96717cf97c254adf0cd (diff) |
Merge pull request #31114 from merumelu/editornode-begone
Remove Editor dependency from SceneTree
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index faa936bd64..8e6c7bf583 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -334,6 +334,11 @@ void EditorNode::_notification(int p_what) { OS::get_singleton()->set_low_processor_usage_mode_sleep_usec(int(EDITOR_GET("interface/editor/unfocused_low_processor_mode_sleep_usec"))); } break; + case MainLoop::NOTIFICATION_WM_ABOUT: { + + show_about(); + } break; + case MainLoop::NOTIFICATION_WM_QUIT_REQUEST: { _menu_option_confirm(FILE_QUIT, false); |