diff --git a/logPlus/qmycustomplot.cpp b/logPlus/qmycustomplot.cpp index 2e6f0c3..bee2dac 100644 --- a/logPlus/qmycustomplot.cpp +++ b/logPlus/qmycustomplot.cpp @@ -114,7 +114,7 @@ void QMyCustomPlot::changePropertyWaveUpdate() clearGraphs(); clearItems(); - if (this->m_colorMap) + if (this->m_colorMap && this->m_bX2Y) { QCPAxis *yAxis = this->yAxis; QCPAxis *xAxis = this->xAxis;