CVS commit by staikos: crash reported here M +4 -2 kstdatamanager_i.cpp 1.44 --- kdeextragear-2/kst/kst/kstdatamanager_i.cpp #1.43:1.44 @@ -482,6 +482,8 @@ void KstDataManagerI::doUpdates() { void KstDataManagerI::currentChanged(QListViewItem *i) { + if (i) { KstObjectItem *koi = static_cast<KstObjectItem*>(i); koi->updateButtons(); + } }