Commit fb221752 authored by Ralf Habacker's avatar Ralf Habacker

Fix of 'Copy & paste places widgets on top of each other'.

BUG: 291742
FEATURE: 85807
parent c12c8180
......@@ -903,8 +903,6 @@ bool UMLWidget::activate(IDChangeLog* /*ChangeLog = 0 */)
QPointF point = m_scene->getPastePoint();
int x = point.x() + this->x();
int y = point.y() + this->y();
x = x < 0 ? 0 : x;
y = y < 0 ? 0 : y;
if (m_scene->type() == Uml::DiagramType::Sequence) {
switch (baseType()) {
case WidgetBase::wt_Object:
......
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