prevent joypad button input dropdown going out of dialog

This commit is contained in:
alvaroHernandez 2020-03-16 21:34:04 -03:00
parent c5d76139dc
commit e47d5691e4
1 changed files with 2 additions and 0 deletions

View File

@ -2006,6 +2006,8 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
device_index_label = l;
device_index = memnew(OptionButton);
device_index->set_clip_text(true);
vbc_right->add_child(device_index);
setting = false;