Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
Umbrello
Commits
fb221752
Commit
fb221752
authored
Dec 18, 2013
by
Ralf Habacker
Browse files
Fix of 'Copy & paste places widgets on top of each other'.
BUG: 291742
FEATURE: 85807
parent
c12c8180
Changes
1
Hide whitespace changes
Inline
Side-by-side
umbrello/widgets/umlwidget.cpp
View file @
fb221752
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment