diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-12-06 23:36:04 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-12-07 05:51:38 +0100 |
commit | 60714a814847f6d10f00aa6809a3896a48741e0b (patch) | |
tree | d7408d2edf6a833bb09e03445400b41167035512 /sd/source/ui/view/sdview.cxx | |
parent | beae6c7a7f163daad0d4dea63a3d403af2745fd1 (diff) |
tdf#121606: displaying Mail Merge toolbar shouldn't activate connection
At least I think so. Thus now the code that queries the state of the
toolbar controls only queries dataset if connection is active.
Operating the navigation buttons (next/prev) will, naturally, activate
connection if not yet active. This should also enable the other controls
that may be initially disabled: create/save/print/email documents. Thus,
the navigation controls also check if they have activated the connection,
and invalidate said document creation controls state. Possibly there's a
better place for the invalidation of the controls, but I was unable to
find one.
Regression after commit 5c2c5ff01c23e4f7a8947746afc13a46cbef5bec
Change-Id: I76f895c871718c9c761339ba03963baf6837b592
Reviewed-on: https://gerrit.libreoffice.org/64738
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd/source/ui/view/sdview.cxx')
0 files changed, 0 insertions, 0 deletions