D27578: IncidenceEditor: don't save the last used calendar if the user rejects the dialog

Allen Winter noreply at phabricator.kde.org
Sat Feb 22 15:02:53 GMT 2020


winterz created this revision.
winterz added reviewers: vkrause, dvratil, mlaurent.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
winterz requested review of this revision.

REVISION SUMMARY
  This patch prevents the calendar collection from being saved into the config file if the user rejects the dialog.
  increases the probability that a useful value is saved/restored.

TEST PLAN
  open dialog. notice pre-selected calendar is "foo". select a different calendar "bar". cancel dialog.
  open dialog. notice that the pre-selected calendar is still "foo"

REPOSITORY
  R78 PIM: Incidence Editor

REVISION DETAIL
  https://phabricator.kde.org/D27578

AFFECTED FILES
  src/incidencedialog.cpp

To: winterz, vkrause, dvratil, mlaurent
Cc: kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200222/c5e4d085/attachment.html>


More information about the kde-pim mailing list