edi_settings: set the default debugger as the selected if none set.

This will use the first and default debug command when no user
preference has been set. This is gdb.
This commit is contained in:
Al Poole 2017-11-24 15:21:03 +00:00
parent 0089d5e100
commit 3e3e0fde8d
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ _edi_settings_builds_create(Evas_Object *parent)
if (_edi_project_config->debug_command)
elm_object_part_text_set(combobox, "guide", _edi_project_config->debug_command);
else
elm_object_part_text_set(combobox, "guide", eina_slstr_printf("%s...", _("Please choose")));
elm_object_part_text_set(combobox, "guide", edi_debug_tools_get()[0].name);
evas_object_size_hint_weight_set(combobox, 0.75, 0.0);
evas_object_size_hint_align_set(combobox, EVAS_HINT_FILL, EVAS_HINT_FILL);