summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-18 14:16:10 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2013-08-19 08:53:58 +0000
commitc373d4a7807581459a474ffc0a277d0d6c00447a (patch)
treecbd5c4e3bfef695716cb66d7113819cd48a55e16 /include
parent9dacf1929000bfaed8408776bcc4ee8e902a8307 (diff)
don't unconditionally enable buttons on switching to accept/reject page
we want to disable all of them when switch to the options page and *restore* the original enable/disable state when switching back i.e. don't enable them if they were disabled due to change tracking password protection regression since 8655095a4910ca795dfd182e6796d9375727a694 Change-Id: I2dd6c83fd9613adf42571684a08bff81b86c9ee1 (cherry picked from commit 30ba8fa46aafb0868ada3b0092cd33524c145989) Reviewed-on: https://gerrit.libreoffice.org/5502 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/svx/ctredlin.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx
index c88b74238ae9..e8cb58b5937a 100644
--- a/include/svx/ctredlin.hxx
+++ b/include/svx/ctredlin.hxx
@@ -311,6 +311,12 @@ private:
PushButton* m_pRejectAll;
PushButton* m_pUndo;
+ bool bEnableAccept;
+ bool bEnableAcceptAll;
+ bool bEnableReject;
+ bool bEnableRejectAll;
+ bool bEnableUndo;
+
DECL_LINK( PbClickHdl, PushButton* );
public: