D29443: KCM KWinVirtualDesktops disable UI when settings are immutable

Méven Car <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
meven accepted this revision.
meven added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> main.qml:89
>              Kirigami.Action {
> -                enabled: !model.IsMissing
> +                enabled: !!model && !model.IsMissing && !kcm.isNumberImmutable
>                  iconName: "edit-delete-remove"

Is it really necessary to have `!!` ?

REPOSITORY
  R108 KWin

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

To: crossi, bport, meven, zzag, mart, #kwin
Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.