diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FocusableList.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FocusableList.cc b/src/FocusableList.cc index 98492b8..094a9b5 100644 --- a/src/FocusableList.cc +++ b/src/FocusableList.cc | |||
@@ -197,10 +197,10 @@ void FocusableList::addMatching() { | |||
197 | Focusables::const_iterator it = list.begin(), it_end = list.end(); | 197 | Focusables::const_iterator it = list.begin(), it_end = list.end(); |
198 | for (; it != it_end; ++it) { | 198 | for (; it != it_end; ++it) { |
199 | if (m_pat->match(**it)) { | 199 | if (m_pat->match(**it)) { |
200 | pushBack(**it); | 200 | m_list.push_back(*it); |
201 | m_pat->addMatch(); | 201 | m_pat->addMatch(); |
202 | } else // we still want to watch it, in case it changes to match | 202 | } |
203 | attachSignals(**it); | 203 | attachSignals(**it); |
204 | } | 204 | } |
205 | } | 205 | } |
206 | 206 | ||