summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-04-21 16:36:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-04-21 16:39:54 +0100
commitdb279db13286653bff269f8ae7471b22498be319 (patch)
tree68dd0fa61801369b256b766715b7831b63af43db
parent783419657cda0565716d363928c8cf5ac5035f8c (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
-rw-r--r--sc/source/ui/dbgui/sfiltdlg.cxx3
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;