Commit b828a465 authored by Momo Cao's avatar Momo Cao Committed by Nate Graham
Browse files

Rearrange local time zone display

parent 885c4abe
......@@ -103,9 +103,23 @@ QtLayouts.ColumnLayout {
text: i18n("Show seconds")
}
QtControls.CheckBox {
id: showLocalTimezone
text: i18n("Show local time zone")
Item {
Kirigami.FormData.isSection: true
}
QtLayouts.ColumnLayout {
Kirigami.FormData.label: i18n("Show time zone:")
Kirigami.FormData.buddyFor: showLocalTimeZoneWhenDifferent
QtControls.RadioButton {
id: showLocalTimeZoneWhenDifferent
text: i18n("Only when different from local time zone")
}
QtControls.RadioButton {
id: showLocalTimezone
text: i18n("Always")
}
}
Item {
......@@ -286,5 +300,9 @@ QtLayouts.ColumnLayout {
} else {
timezoneCityRadio.checked = true;
}
if (!plasmoid.configuration.showLocalTimezone) {
showLocalTimeZoneWhenDifferent.checked = true;
}
}
}
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