diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-21 16:36:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-04-21 16:39:54 +0100 |
commit | db279db13286653bff269f8ae7471b22498be319 (patch) | |
tree | 68dd0fa61801369b256b766715b7831b63af43db /sc | |
parent | 783419657cda0565716d363928c8cf5ac5035f8c (diff) |
Resolves: tdf#99360 can't select filter criteria with mouse
regression since
commit 6610ad9aee0c8299880cd1da6cd6a756860ccad9
Author: Jaskaran <jvsg1303@gmail.com>
Date: Wed Mar 2 07:51:40 2016 +0530
original body of this method were protected by "if (IsActive())" before
conversion, adding that back into the new version makes things apparently work
again
Change-Id: Id7e89c7724ed804d0330645c4e05dee113ce2079
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/sfiltdlg.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/dbgui/sfiltdlg.cxx b/sc/source/ui/dbgui/sfiltdlg.cxx index b29e08247d91..c78040f1c7b5 100644 --- a/sc/source/ui/dbgui/sfiltdlg.cxx +++ b/sc/source/ui/dbgui/sfiltdlg.cxx @@ -392,6 +392,9 @@ IMPL_LINK_TYPED( ScSpecialFilterDlg, EndDlgHdl, Button*, pBtn, void ) void ScSpecialFilterDlg::SyncFocusState() { + if (!IsActive()) + return; + if( pEdCopyArea->HasFocus() || pRbCopyArea->HasFocus() ) { pRefInputEdit = pEdCopyArea; |