diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index 1a4e87c5..625d3587 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc @@ -411,7 +411,7 @@ void IconbarTool::update(FbTk::Subject *subj) { // lock graphic update m_icon_container.setUpdateLock(true); - if (typeid(*subj) == typeid(FocusableList::FocusableListSubject)) { + if (subj && typeid(*subj) == typeid(FocusableList::FocusableListSubject)) { FocusableList::FocusableListSubject *fsubj = static_cast(subj); if (subj == &m_winlist->addSig())