##// END OF EJS Templates
Fix crash with boxplottertester brush...
Titta Heikkala -
r2635:d3155254bba4
parent child
Show More
@@ -366,7 +366,10 void MainWidget::setBrush()
366 366
367 367 if (m_seriesCount > 0) {
368 368 QList<QBoxSet *> sets = m_series[0]->boxSets();
369 sets.at(1)->setBrush(QBrush(QColor(Qt::yellow)));
369 if (sets.count() > 1)
370 sets.at(1)->setBrush(QBrush(QColor(Qt::yellow)));
371 else
372 qDebug() << "Create a series with at least two items first";
370 373 } else {
371 374 qDebug() << "Create a series first";
372 375 }
General Comments 0
You need to be logged in to leave comments. Login now