emixer - actually count cards

This commit is contained in:
Carsten Haitzler 2020-04-19 18:48:15 +01:00
parent bb8f1a84ee
commit d0e7a1907c
1 changed files with 1 additions and 0 deletions

View File

@ -1130,6 +1130,7 @@ _emix_card_add(Emix_Card *card)
NULL, ELM_ICON_NONE,
_cb_card_profile_change, profile);
if (profile->active) elm_object_text_set(hv, profile->description);
cards++;
}
if (cards == 0) elm_object_text_set(hv, "Not Connected");
evas_object_size_hint_weight_set(hv, 0.0, 0.5);