chore(cpn): add warning message to global variables settings edit tab (#7008)
This commit is contained in:
@@ -154,9 +154,13 @@ GlobalVariablesPanel::GlobalVariablesPanel(QWidget * parent, ModelData & model,
|
||||
col += colspan;
|
||||
}
|
||||
|
||||
QLabel *lblWarn = new QLabel(this);
|
||||
lblWarn->setText(tr("WARNING: changing ranges or precision can affect configured Logical Switches and Special Functions"));
|
||||
tableLayout->addWidget(gvars, 1, 1, -1, lblWarn);
|
||||
|
||||
disableMouseScrolling();
|
||||
tableLayout->resizeColumnsToContents();
|
||||
tableLayout->pushRowsUp(gvars + 1);
|
||||
tableLayout->pushRowsUp(gvars + 2);
|
||||
tableLayout->pushColumnsLeft(col);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user