Merge pull request #33888 from nekomatata/debug-menu-hide

Debug menu in editor doesn't hide on checkbox toggle
This commit is contained in:
Rémi Verschelde 2019-11-25 17:28:57 +01:00 committed by GitHub
commit da80e3f0f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6121,7 +6121,7 @@ EditorNode::EditorNode() {
p = debug_menu->get_popup();
p->set_hide_on_window_lose_focus(true);
p->set_hide_on_item_selection(false);
p->set_hide_on_checkable_item_selection(false);
p->add_check_shortcut(ED_SHORTCUT("editor/deploy_with_remote_debug", TTR("Deploy with Remote Debug")), RUN_DEPLOY_REMOTE_DEBUG);
p->set_item_tooltip(p->get_item_count() - 1, TTR("When exporting or deploying, the resulting executable will attempt to connect to the IP of this computer in order to be debugged."));
p->add_check_shortcut(ED_SHORTCUT("editor/small_deploy_with_network_fs", TTR("Small Deploy with Network FS")), RUN_FILE_SERVER);