diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-20 14:03:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-20 20:47:39 +0200 |
commit | 45e8b85a50bf153b6c9f627e731eecee1cf966f2 (patch) | |
tree | 0a6fbbb3b39f79ea84727e49eb0837383a6e7575 /bin | |
parent | e1972743d692c8d8611912c31aae2cb08ae7636d (diff) |
Resolves: tdf#144620 toolbar config item overwrites options dialog one
There are two SwMailMergeConfigItem involved. One SwMailMergeConfigItem
from the toolbar created and considered modified and with changes not
commited to the config yet.
Then the other SwMailMergeConfigItem is created by the options dialog
and commited on ok, but after that commit at
cui/source/options/treeopt.cxx at line 723 there is a
utl::ConfigManager::storeConfigItems() to flush all outstanding config
items, so the one belonging to the toolbar is now flushed after the
options dialog one was written.
The SwMailMergeConfigItem has a IsModified() of true right after ctor
which doesn't seem intentional, there is no explicit set of Modified to
true on setting the simple bool members, the Modified bit is toggled on
when using the more complicated modifier methods during ctor so very
much looks like an accidental side effect.
Change-Id: If84a6f01c7bf92704dd1e175a2bd8e2ea59e157f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122364
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions