[Debugger] Move quit shortcut configuration to the SceneDebugger
This commit is contained in:
parent
87318a2fb7
commit
7cd850b909
7 changed files with 55 additions and 37 deletions
|
|
@ -223,11 +223,6 @@ Error EditorRun::run(const String &p_scene, const String &p_write_movie) {
|
|||
args.push_back(p_scene);
|
||||
}
|
||||
|
||||
// Pass the debugger stop shortcut to the running instance(s).
|
||||
String shortcut;
|
||||
VariantWriter::write_to_string(ED_GET_SHORTCUT("editor/stop_running_project"), shortcut);
|
||||
OS::get_singleton()->set_environment("__GODOT_EDITOR_STOP_SHORTCUT__", shortcut);
|
||||
|
||||
String exec = OS::get_singleton()->get_executable_path();
|
||||
int instance_count = RunInstancesDialog::get_singleton()->get_instance_count();
|
||||
for (int i = 0; i < instance_count; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue