mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Minor
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user