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

Add donate button to project manager

- Move the `Remove Missing` button with the rest of the actions available.
- Add `ref` to existing donate link in the Help menu
This commit is contained in:
Emi
2025-10-23 22:21:18 +02:00
parent a4607f4522
commit 1b8b46f59a
3 changed files with 17 additions and 5 deletions

View File

@@ -163,6 +163,7 @@ class ProjectManager : public Control {
Button *show_in_fm_btn = nullptr;
Button *erase_btn = nullptr;
Button *erase_missing_btn = nullptr;
Button *donate_btn = nullptr;
HBoxContainer *open_btn_container = nullptr;
PopupMenu *open_options_popup = nullptr;
@@ -203,6 +204,7 @@ class ProjectManager : public Control {
void _update_project_buttons();
void _open_options_popup();
void _open_recovery_mode_ask(bool manual = false);
void _open_donate_page();
void _on_project_created(const String &dir, bool edit);
void _on_project_duplicated(const String &p_original_path, const String &p_duplicate_path, bool p_edit);