diff options
author | merumelu <merumelu@protonmail.com> | 2019-08-05 19:46:23 +0200 |
---|---|---|
committer | merumelu <merumelu@protonmail.com> | 2019-08-05 19:46:23 +0200 |
commit | dcd551bf782c8f07e676c96717cf97c254adf0cd (patch) | |
tree | 1c415681989972b29b051db63e02973d43804024 /editor/editor_node.cpp | |
parent | b16d799a6fba50efb199e2a04b1beab0704f247f (diff) |
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); |