make sure subj != 0 in IconbarTool::update()
This commit is contained in:
parent
e30f235daf
commit
d29a3ec590
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ void IconbarTool::update(FbTk::Subject *subj) {
|
||||||
// lock graphic update
|
// lock graphic update
|
||||||
m_icon_container.setUpdateLock(true);
|
m_icon_container.setUpdateLock(true);
|
||||||
|
|
||||||
if (typeid(*subj) == typeid(FocusableList::FocusableListSubject)) {
|
if (subj && typeid(*subj) == typeid(FocusableList::FocusableListSubject)) {
|
||||||
FocusableList::FocusableListSubject *fsubj =
|
FocusableList::FocusableListSubject *fsubj =
|
||||||
static_cast<FocusableList::FocusableListSubject *>(subj);
|
static_cast<FocusableList::FocusableListSubject *>(subj);
|
||||||
if (subj == &m_winlist->addSig())
|
if (subj == &m_winlist->addSig())
|
||||||
|
|
Loading…
Reference in a new issue