mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-09 14:21:58 +00:00
Fix project run/stop buttons disappearing in the editor
This commit is contained in:
@@ -260,7 +260,7 @@ Error EditorRun::run(const String &p_scene, const String &p_write_movie) {
|
||||
|
||||
// Pass the debugger stop shortcut to the running instance(s).
|
||||
String shortcut;
|
||||
VariantWriter::write_to_string(ED_GET_SHORTCUT("editor/stop"), shortcut);
|
||||
VariantWriter::write_to_string(ED_GET_SHORTCUT("editor/stop_running_project"), shortcut);
|
||||
OS::get_singleton()->set_environment("__GODOT_EDITOR_STOP_SHORTCUT__", shortcut);
|
||||
|
||||
printf("Running: %s", exec.utf8().get_data());
|
||||
|
||||
Reference in New Issue
Block a user