Commit 0f46c698 authored by Robert Frohl's avatar Robert Frohl
Browse files

[FIX] - problem when selecting an arrow and deleting it

parent 6426d475
......@@ -154,8 +154,8 @@ void WQtNetworkEditor::deleteSelectedItems()
ar->getEndPort()->getConnector()->getName() ) );
disconnectCombiner->run();
disconnectCombiner->wait();
ar->hide();
m_scene->removeItem( ar );
//ar->hide();
//m_scene->removeItem( ar );
}
}
......@@ -164,7 +164,7 @@ void WQtNetworkEditor::deleteSelectedItems()
if( it != 0 )
{
WKernel::getRunningKernel()->getRootContainer()->remove( it->getModule() );
it->hide();
//it->hide();
m_scene->removeItem( it );
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment