This commit is contained in:
bsongis
2014-06-30 11:17:16 +02:00
parent 90cf98465b
commit 5c3bd1faf9
+5 -3
View File
@@ -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)