aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/TypeAhead.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/TypeAhead.hh b/src/FbTk/TypeAhead.hh
index 15246b9..b28c803 100644
--- a/src/FbTk/TypeAhead.hh
+++ b/src/FbTk/TypeAhead.hh
@@ -103,6 +103,8 @@ public:
103 103
104 if (!m_search_results.empty()) 104 if (!m_search_results.empty())
105 fillValues(m_search_results.back().result(), last_matched); 105 fillValues(m_search_results.back().result(), last_matched);
106 else
107 return *m_ref;
106 return last_matched; 108 return last_matched;
107 } 109 }
108 110