From 5c3bd1faf91b3fec9d967c0838dd448dfc6fd297 Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 30 Jun 2014 11:14:59 +0200 Subject: [PATCH] Fixes #1389 --- companion/src/modeledit/telemetry.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/companion/src/modeledit/telemetry.cpp b/companion/src/modeledit/telemetry.cpp index 04a124e98..6b4a25ba9 100644 --- a/companion/src/modeledit/telemetry.cpp +++ b/companion/src/modeledit/telemetry.cpp @@ -434,9 +434,11 @@ void TelemetryCustomScreen::on_screenType_currentIndexChanged(int index) void TelemetryCustomScreen::customFieldChanged(int value) { - int index = sender()->property("index").toInt(); - screen.body.lines[index/256].source[index%256] = value; - emit modified(); + if (!lock) { + int index = sender()->property("index").toInt(); + screen.body.lines[index/256].source[index%256] = value; + emit modified(); + } } void TelemetryCustomScreen::barSourceChanged(int index)