diff --git a/decoder_modules/m17_decoder/src/main.cpp b/decoder_modules/m17_decoder/src/main.cpp index 471f714b..90a0aea4 100644 --- a/decoder_modules/m17_decoder/src/main.cpp +++ b/decoder_modules/m17_decoder/src/main.cpp @@ -214,10 +214,10 @@ private: if (ImGui::Checkbox(CONCAT("Show Reference Lines##m17_showlines_", _this->name), &_this->showLines)) { if (_this->showLines) { - diag.lines.push_back(-1.0); - diag.lines.push_back(-1.0/3.0); - diag.lines.push_back(1.0/3.0); - diag.lines.push_back(1.0); + _this->diag.lines.push_back(-1.0); + _this->diag.lines.push_back(-1.0/3.0); + _this->diag.lines.push_back(1.0/3.0); + _this->diag.lines.push_back(1.0); } else { _this->diag.lines.clear();