This commit is contained in:
joshua
2021-09-20 18:21:23 +02:00
parent 37e74b397e
commit 67dbc798aa

View File

@@ -155,7 +155,8 @@ bool TerminalStripModel::setData(const QModelIndex &index, const QVariant &value
modified_cell = FUNCTION_CELL; modified_cell = FUNCTION_CELL;
} }
else if (column_ == LABEL_CELL && else if (column_ == LABEL_CELL &&
role == Qt::EditRole) role == Qt::EditRole &&
rtd.label_ != value.toString())
{ {
rtd.label_ = value.toString(); rtd.label_ = value.toString();
modified_ = true; modified_ = true;