summaryrefslogtreecommitdiff
path: root/extensions/source
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:02 +0000
commit7b69dd64be71d1420158a553fb5ec861039cb017 (patch)
tree861c9f7682cf7a2832d263a3aa0cf22a7a52d3dc /extensions/source
parent66686e443b568ad5aab1b32b3f25eb73487cfef6 (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>
Diffstat (limited to 'extensions/source')
-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;
}