From ad3a279cd686c15d4bfb35589b89e75f6415c366 Mon Sep 17 00:00:00 2001 From: "Srivats P." Date: Mon, 4 May 2015 22:29:35 +0530 Subject: [PATCH] Bugfix: Fixed crash on clicking 'apply' caused by an invalid proxyPortModel->mapToSource() --- client/portswindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/portswindow.cpp b/client/portswindow.cpp index 39c4fcd..baa3ed4 100644 --- a/client/portswindow.cpp +++ b/client/portswindow.cpp @@ -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__);