Replace the excludeRange mode setting when already available
ClosedPublic

Authored by bshah on Jun 11 2019, 3:09 PM.

Details

Summary

Instead of appending a new entry.

BUG: 244857
BUG: 408415

Test Plan
  • remove fonts.conf
  • start fonts kcm
  • enable exclude range
  • save
  • see config is added only once
  • modify config
  • save
  • see config is replaced and not added again
  • disable exclude range
  • save
  • see config is totally removed.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bshah created this revision.Jun 11 2019, 3:09 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 11 2019, 3:09 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
bshah requested review of this revision.Jun 11 2019, 3:09 PM
ngraham accepted this revision.Jun 11 2019, 4:33 PM
ngraham added a subscriber: ngraham.

Thanks, it works!

This revision is now accepted and ready to land.Jun 11 2019, 4:33 PM
fvogt added a comment.Jun 11 2019, 4:49 PM

Untested, but looks good. Seems to apply to Plasma/5.12 as well.

This revision was automatically updated to reflect the committed changes.