切换后, 变密度不显示问题。

This commit is contained in:
DESKTOP-450PEFP\mainc 2026-02-09 16:39:43 +08:00
parent 9f382743fb
commit 59f013452a

View File

@ -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;