From 30ba8fa46aafb0868ada3b0092cd33524c145989 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 --- 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 1958307acde1..f3107d9f05a6 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -305,6 +305,12 @@ private: PushButton* m_pRejectAll; PushButton* m_pUndo; + bool bEnableAccept; + bool bEnableAcceptAll; + bool bEnableReject; + bool bEnableRejectAll; + bool bEnableUndo; + DECL_LINK( PbClickHdl, PushButton* ); public: -- cgit