summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-07-20 21:20:05 +0200
committerGitHub <noreply@github.com>2018-07-20 21:20:05 +0200
commit002bacc01ffe3ace87c3880f76a2cadcc5650dda (patch)
tree74cd695262d8e094e4b65513b1a695eaa92aed23 /editor/editor_node.cpp
parent6c09cdd1361881ab44c971bae57f3a273f8b5110 (diff)
parent12b55610edd8c81b1fadc4e77350dd8cea6448d2 (diff)
Merge pull request #20311 from YeldhamDev/update_spinner_popup_radio
Make Update Spinner popup use radio items
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 88266f468a..a6c68eb9b2 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -5289,8 +5289,8 @@ EditorNode::EditorNode() {
update_menu->set_icon(gui_base->get_icon("Progress1", "EditorIcons"));
update_menu->get_popup()->connect("id_pressed", this, "_menu_option");
p = update_menu->get_popup();
- p->add_check_item(TTR("Update Always"), SETTINGS_UPDATE_ALWAYS);
- p->add_check_item(TTR("Update Changes"), SETTINGS_UPDATE_CHANGES);
+ p->add_radio_check_item(TTR("Update Always"), SETTINGS_UPDATE_ALWAYS);
+ p->add_radio_check_item(TTR("Update Changes"), SETTINGS_UPDATE_CHANGES);
p->add_separator();
p->add_check_item(TTR("Disable Update Spinner"), SETTINGS_UPDATE_SPINNER_HIDE);
int update_always = EditorSettings::get_singleton()->get_project_metadata("editor_options", "update_always", false);