[Libreoffice-commits] core.git: extensions/source
Julien Nabet
serval2412 at yahoo.fr
Wed Dec 9 14:03:27 PST 2015
extensions/source/abpilot/typeselectionpage.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7b69dd64be71d1420158a553fb5ec861039cb017
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Wed Dec 9 22:14:21 2015 +0100
tdf#96368: Address book wizard with no selection returns Evolution
Don't select an option which is not even visible
Change-Id: I003c835d7d623e559d67098de48efdf057a64422
Reviewed-on: https://gerrit.libreoffice.org/20552
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/extensions/source/abpilot/typeselectionpage.cxx b/extensions/source/abpilot/typeselectionpage.cxx
index 1a7c264..1a2a565 100644
--- a/extensions/source/abpilot/typeselectionpage.cxx
+++ b/extensions/source/abpilot/typeselectionpage.cxx
@@ -202,7 +202,7 @@ namespace abp
loop != m_aAllTypes.end(); ++loop )
{
ButtonItem aItem = (*loop);
- if ( aItem.m_pItem->IsChecked() )
+ if ( aItem.m_pItem->IsChecked() && aItem.m_bVisible )
return aItem.m_eType;
}
More information about the Libreoffice-commits
mailing list