Mailing List Archive

[MythTV/mythtv] 38463b: Add readonly status for editable fields
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 38463b2b2d12004ff948fee95020b2b4effd7f88
https://github.com/MythTV/mythtv/commit/38463b2b2d12004ff948fee95020b2b4effd7f88
Author: Klaas de Waal <kdewaal@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.


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits