Commit 8238921c authored by Ralf Habacker's avatar Ralf Habacker

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

BUG: 291742
FIXED-IN: 4.11.5
(cherry picked from commit fb221752)
parent 51b3164e
......@@ -645,8 +645,6 @@ bool UMLWidget::activate(IDChangeLog* /*ChangeLog = 0 */)
UMLScenePoint 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