CVS commit by staikos: crash fix M +3 -0 kstview.cpp 1.52.2.1 --- kdeextragear-2/kst/kst/kstview.cpp #1.52:1.52.2.1 @@ -1159,4 +1159,7 @@ void KstView::logSlot(bool x) { plot = KST::plotList.at(MouseInfo->getPlotNum()); + if (!plot) { + return; + } xLog = x ? !plot->isXLog() : plot->isXLog(); yLog = x ? plot->isYLog() : !plot->isYLog();