diff options
author | kobewi <kobewi4e@gmail.com> | 2024-02-01 16:02:39 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-02-15 22:37:32 +0100 |
commit | 343bfb112f5a8cda4fdd86b0074bb2f54fd31e4b (patch) | |
tree | 2c182b308e4838a16a6769ccc57f724a5b119a06 /editor/export/editor_export.h | |
parent | 9adb7c7d130c6d4eb0e80b92d6eebd71fac3384d (diff) | |
download | redot-engine-343bfb112f5a8cda4fdd86b0074bb2f54fd31e4b.tar.gz |
Don't invoke adb with no runnable Android preset
Diffstat (limited to 'editor/export/editor_export.h')
-rw-r--r-- | editor/export/editor_export.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/export/editor_export.h b/editor/export/editor_export.h index 55dee0c468..f8cb90dc39 100644 --- a/editor/export/editor_export.h +++ b/editor/export/editor_export.h @@ -41,7 +41,8 @@ class EditorExport : public Node { Vector<Ref<EditorExportPreset>> export_presets; Vector<Ref<EditorExportPlugin>> export_plugins; - StringName _export_presets_updated; + static inline StringName _export_presets_updated; + static inline StringName _export_presets_runnable_updated; Timer *save_timer = nullptr; bool block_save = false; @@ -54,6 +55,7 @@ class EditorExport : public Node { protected: friend class EditorExportPreset; void save_presets(); + void emit_presets_runnable_changed(); void _notification(int p_what); static void _bind_methods(); @@ -77,6 +79,7 @@ public: void load_config(); void update_export_presets(); bool poll_export_platforms(); + void connect_presets_runnable_updated(const Callable &p_target); EditorExport(); ~EditorExport(); |