1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix issue preventing enabling the remote button for Android

https://github.com/godotengine/godot/pull/92032 updated the logic to enable / disable the remote debug button, and in doing so added a `can_export` check.

However, no events / notifications are dispatched when the value of the `can_export` check changes, which in turn prevents the logic used to enable / disable the remote debug button from running again.

The fix consists then in removing the `can_export` check, so that the remote debug button shows as `enabled` when a preset is present and is runnable.
This commit is contained in:
Fredia Huya-Kouadio
2024-07-16 00:25:16 -07:00
parent 97b8ad1af0
commit 5b327aee96
3 changed files with 4 additions and 2 deletions

View File

@@ -441,6 +441,7 @@ void EditorExportPlatformAndroid::_update_preset_status() {
} else {
has_runnable_preset.clear();
}
devices_changed.set();
}
#endif