From ec4dc6cc9e919a4687a8063db50ab3a76212a67f Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 22 Mar 2023 20:47:05 +0100 Subject: [PATCH] fix --- decoder_modules/m17_decoder/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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();