##// END OF EJS Templates
Fix crash with boxplotttester...
Titta Heikkala -
r2630:c58d5a10ac65
parent child
Show More
@@ -350,7 +350,10 void MainWidget::clearBox()
350
350
351 if (m_seriesCount > 0) {
351 if (m_seriesCount > 0) {
352 QList<QBoxSet *> sets = m_series[0]->boxSets();
352 QList<QBoxSet *> sets = m_series[0]->boxSets();
353 sets.at(1)->clear();
353 if (sets.count() > 1)
354 sets.at(1)->clear();
355 else
356 qDebug() << "Create a series with at least two items first";
354 } else {
357 } else {
355 qDebug() << "Create a series first";
358 qDebug() << "Create a series first";
356 }
359 }
General Comments 0
You need to be logged in to leave comments. Login now