aboutsummaryrefslogtreecommitdiff
path: root/src/FocusableList.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FocusableList.cc')
-rw-r--r--src/FocusableList.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FocusableList.cc b/src/FocusableList.cc
index 8a5c8f7..8c43181 100644
--- a/src/FocusableList.cc
+++ b/src/FocusableList.cc
@@ -126,11 +126,11 @@ void FocusableList::update(FbTk::Subject *subj) {
126 FocusableListSubject *fsubj = 126 FocusableListSubject *fsubj =
127 static_cast<FocusableListSubject *>(subj); 127 static_cast<FocusableListSubject *>(subj);
128 if (subj == &m_parent->addSig()) { 128 if (subj == &m_parent->addSig()) {
129 attachSignals(*fsubj->win());
129 if (m_pat->match(*fsubj->win())) { 130 if (m_pat->match(*fsubj->win())) {
130 insertFromParent(*fsubj->win()); 131 insertFromParent(*fsubj->win());
131 m_addsig.notify(fsubj->win()); 132 m_addsig.notify(fsubj->win());
132 } else // we still want to watch it, in case it changes to match 133 }
133 attachSignals(*fsubj->win());
134 } else if (subj == &m_parent->removeSig()) 134 } else if (subj == &m_parent->removeSig())
135 remove(*fsubj->win()); 135 remove(*fsubj->win());
136 else if (subj == &m_parent->resetSig()) 136 else if (subj == &m_parent->resetSig())