diff --git a/Software/PC_Application/LibreVNA-GUI/Traces/tracesmithchart.cpp b/Software/PC_Application/LibreVNA-GUI/Traces/tracesmithchart.cpp index 2f70049..fdab687 100644 --- a/Software/PC_Application/LibreVNA-GUI/Traces/tracesmithchart.cpp +++ b/Software/PC_Application/LibreVNA-GUI/Traces/tracesmithchart.cpp @@ -13,6 +13,7 @@ #include #include #include +#include using namespace std; @@ -747,7 +748,7 @@ QVariant SmithChartContantLineModel::data(const QModelIndex &index, int role) co auto line = chart.constantLines[index.row()]; switch(index.column()) { case ColIndexColor: - if (role == Qt::BackgroundColorRole) { + if (role == Qt::BackgroundRole) { return line.getColor(); } break;