aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/IconbarTool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 1a4e87c..625d358 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -411,7 +411,7 @@ void IconbarTool::update(FbTk::Subject *subj) {
411 // lock graphic update 411 // lock graphic update
412 m_icon_container.setUpdateLock(true); 412 m_icon_container.setUpdateLock(true);
413 413
414 if (typeid(*subj) == typeid(FocusableList::FocusableListSubject)) { 414 if (subj && typeid(*subj) == typeid(FocusableList::FocusableListSubject)) {
415 FocusableList::FocusableListSubject *fsubj = 415 FocusableList::FocusableListSubject *fsubj =
416 static_cast<FocusableList::FocusableListSubject *>(subj); 416 static_cast<FocusableList::FocusableListSubject *>(subj);
417 if (subj == &m_winlist->addSig()) 417 if (subj == &m_winlist->addSig())