sc/source/ui/dbgui/sfiltdlg.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit db279db13286653bff269f8ae7471b22498be319
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Apr 21 16:36:46 2016 +0100

    Resolves: tdf#99360 can't select filter criteria with mouse
    
    regression since
    
    commit 6610ad9aee0c8299880cd1da6cd6a756860ccad9
    Author: Jaskaran <jvsg1...@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

diff --git a/sc/source/ui/dbgui/sfiltdlg.cxx b/sc/source/ui/dbgui/sfiltdlg.cxx
index b29e082..c78040f 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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to