summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-12-09 22:14:21 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-12-09 22:03:37 +0000
commit6158def661f8281c4fc3493c7e2a1753d3891437 (patch)
treecc069845d16eb23cbd9a62df59d3950f378287b3
parent282b1aa32c27a513eb2858ad6e7e534ef52c1b99 (diff)
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@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit 7b69dd64be71d1420158a553fb5ec861039cb017) Reviewed-on: https://gerrit.libreoffice.org/20558 Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--extensions/source/abpilot/typeselectionpage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/abpilot/typeselectionpage.cxx b/extensions/source/abpilot/typeselectionpage.cxx
index 1a7c2642fdfe..1a2a56597136 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;
}