diff --git a/editors/ComponentEditor/ports/portsmodel.cpp b/editors/ComponentEditor/ports/portsmodel.cpp index 2fb955f6a..d761881d3 100644 --- a/editors/ComponentEditor/ports/portsmodel.cpp +++ b/editors/ComponentEditor/ports/portsmodel.cpp @@ -600,6 +600,7 @@ QVariant PortsModel::expressionForIndex(QModelIndex const& index) const // Function: portsmodel::valueForIndex() //----------------------------------------------------------------------------- QVariant PortsModel::valueForIndex(QModelIndex const& index) const +{ if (index.column() == rowNumberColumn()) { QModelIndex filteredIndex = filter_->mapFromSource(index);