Skip to content

Commit

Permalink
- Do not remove the item since it is already unlinked from the scene.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23383 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Nov 16, 2014
1 parent 6163744 commit 204c869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Component/CornerItem.cpp
Expand Up @@ -243,7 +243,7 @@ void ResizerItem::setPassive()
{
mPen = mPassivePen;
setParentItem(0);
mpComponent->getGraphicsView()->scene()->removeItem(this);
//mpComponent->getGraphicsView()->scene()->removeItem(this);
}

/*!
Expand Down

0 comments on commit 204c869

Please sign in to comment.