From c373d4a7807581459a474ffc0a277d0d6c00447a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 18 Aug 2013 14:16:10 +0100 Subject: 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 Tested-by: Fridrich Strba --- include/svx/ctredlin.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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: -- cgit