summaryrefslogtreecommitdiff
path: root/logbook
diff options
context:
space:
mode:
Diffstat (limited to 'logbook')
-rwxr-xr-xlogbook/AD1CCty.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logbook/AD1CCty.cpp b/logbook/AD1CCty.cpp
index e54b1a40..44dd1aaa 100755
--- a/logbook/AD1CCty.cpp
+++ b/logbook/AD1CCty.cpp
@@ -446,8 +446,8 @@ auto AD1CCty::lookup (QString const& call) const -> Record
if (p != m_->prefixes_.end ())
{
impl::entity_by_id::iterator e = m_->lookup_entity (call, *p);
- if ((m_->configuration_->include_WAE_entities () || !e->WAE_only_)
- && (!p->exact_ || call.size () == search_prefix.size ()))
+ // always lookup WAE entities, we substitute them later in displaytext.cpp if "Include extra WAE entites" is not selected
+ if (!p->exact_ || call.size () == search_prefix.size ())
{
return m_->fixup (*p, *e);
}