Commit e477d80b authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Digital Clock] Disable custom format input when date option is unchecked

The ComboBox was disabled in this case but not the other options.

Differential Revision:
parent 6671c13d
......@@ -191,11 +191,13 @@ QtLayouts.ColumnLayout {
QtControls.TextField {
id: customDateFormat
QtLayouts.Layout.fillWidth: true
enabled: showDate.checked
visible: cfg_dateFormat == "custom"
QtControls.Label {
text: i18n("<a href=\"\">Time Format Documentation</a>")
enabled: showDate.checked
visible: cfg_dateFormat == "custom"
wrapMode: Text.Wrap
QtLayouts.Layout.preferredWidth: QtLayouts.Layout.maximumWidth
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment