From 5b327aee96983fb1e912a49d634ae9a3a486a6bf Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Tue, 16 Jul 2024 00:25:16 -0700 Subject: 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. --- platform/android/export/export_plugin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'platform/android/export/export_plugin.cpp') diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 479158c91f..a0da9019c6 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -441,6 +441,7 @@ void EditorExportPlatformAndroid::_update_preset_status() { } else { has_runnable_preset.clear(); } + devices_changed.set(); } #endif -- cgit v1.2.3