[mythtv-commits] [MythTV/mythtv] 38463b: Add readonly status for editable fields

kmdewaal noreply at github.com
Wed Nov 18 21:29:13 UTC 2020

  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 38463b2b2d12004ff948fee95020b2b4effd7f88
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M mythtv/libs/libmyth/standardsettings.cpp
    M mythtv/libs/libmyth/standardsettings.h

  Log Message:
  Add readonly status for editable fields

Add a readonly attribute to editable fields.
This makes it possible to disable editing of fields that should not be modified
but these fields are now still presented correct and it is possible to navigate
to these fields and to view the associated help message.
Previously setting fields readonly was done by setting fields to disabled.
This has the drawback that the visual presentation is greyed-out and that
the associated help text is never visible.

More information about the mythtv-commits mailing list