Bugfix: Fixed crash on clicking 'apply' caused by an invalid proxyPortModel->mapToSource()
This commit is contained in:
parent
2c28433533
commit
ad3a279cd6
@ -468,8 +468,6 @@ void PortsWindow::on_pbApply_clicked()
|
||||
}
|
||||
|
||||
curPortGroup = plm->getPortModel()->parent(curPort);
|
||||
if (proxyPortModel)
|
||||
curPortGroup = proxyPortModel->mapToSource(curPortGroup);
|
||||
if (!curPortGroup.isValid())
|
||||
{
|
||||
qDebug("%s: curPortGroup is invalid", __FUNCTION__);
|
||||
|
Loading…
Reference in New Issue
Block a user