diff options
| author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-12-24 01:20:54 +0100 |
|---|---|---|
| committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-04-28 17:35:57 +0200 |
| commit | be01025376f0bbb7c7b160a3762d545aa18baaae (patch) | |
| tree | 25a43c6feb3de9625f2ee2132a7b92f0c746509a /editor/editor_node.h | |
| parent | 7e0a42a673edbc4a7a314aa92b6fe0c6ea928c4c (diff) | |
| download | redot-engine-be01025376f0bbb7c7b160a3762d545aa18baaae.tar.gz | |
Make it possible to copy the Godot version identifier by clicking it
This closes #24317.
Diffstat (limited to 'editor/editor_node.h')
| -rw-r--r-- | editor/editor_node.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h index 7e16936f5d..d06851cb4f 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -40,6 +40,7 @@ #include "editor/inspector_dock.h" #include "editor/property_editor.h" #include "editor/scene_tree_dock.h" +#include "scene/gui/link_button.h" typedef void (*EditorNodeInitCallback)(); typedef void (*EditorPluginInitializeCallback)(); @@ -424,7 +425,7 @@ private: HBoxContainer *bottom_panel_hb; HBoxContainer *bottom_panel_hb_editors; VBoxContainer *bottom_panel_vb; - Label *version_label; + LinkButton *version_btn; Button *bottom_panel_raise; Tree *disk_changed_list; @@ -477,6 +478,7 @@ private: void _close_messages(); void _show_messages(); void _vp_resized(); + void _version_button_pressed(); int _save_external_resources(); |
