From 1395029d8a1ed72806a103180a7ffca30fdb4aa0 Mon Sep 17 00:00:00 2001 From: hondres Date: Wed, 3 Feb 2016 00:15:50 +0100 Subject: fix joystick axis names in project settings --- tools/editor/project_settings.cpp | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'tools/editor') diff --git a/tools/editor/project_settings.cpp b/tools/editor/project_settings.cpp index 879eb4227c..9fe9b60ee5 100644 --- a/tools/editor/project_settings.cpp +++ b/tools/editor/project_settings.cpp @@ -299,18 +299,18 @@ void ProjectSettings::_add_item(int p_item){ device_id->set_val(0); device_index_label->set_text("Joy Button Axis:"); device_index->clear(); - for(int i=0;i<24;i++) { + for(int i=0;iset_text(0,str); action->set_icon(0,get_icon("JoyAxis","EditorIcons")); } break; -- cgit v1.2.3