jgrulich added inline comments.

INLINE COMMENTS

> main.qml:89
>  
> -        header: Kirigami.ListSectionHeader {
> -            text: mobileProxyModel.showSavedMode ? i18n("Saved networks") : 
> i18n("Available networks")
> +        section.property: "ConnectionState"
> +        section.delegate: Kirigami.ListSectionHeader {

You can use  "Section" property from the model, which already contains either 
"Active connections" or "Available connections".

We use it in the applet as well:

  section.property: showSections ? "Section" : ""
  section.delegate: Header { text: section }

REPOSITORY
  R116 Plasma Network Management Applet

REVISION DETAIL
  https://phabricator.kde.org/D24808

To: nicolasfella, jgrulich, #plasma, #plasma:_mobile
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart

Reply via email to