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
e2963934
Commit
e2963934
authored
Jun 19, 2014
by
Oliver Kellogg
Browse files
umbrello/umlscene.cpp function setupNewWidget() : Fix oversight from commit
69f447eb
parent
9f2c0115
Changes
1
Hide whitespace changes
Inline
Side-by-side
umbrello/umlscene.cpp
View file @
e2963934
...
...
@@ -543,7 +543,7 @@ void UMLScene::setupNewWidget(UMLWidget *w, bool setPosition)
if
(
w
->
baseType
()
==
WidgetBase
::
wt_Pin
||
w
->
baseType
()
==
WidgetBase
::
wt_Port
)
{
PinPortBase
*
pw
=
static_cast
<
PinPortBase
*>
(
w
);
pw
->
attachToOwn
ingComponent
();
pw
->
attachToOwn
er
();
}
else
if
(
w
->
baseType
()
!=
WidgetBase
::
wt_Object
)
{
// ObjectWidget's position is handled by the widget
w
->
setX
(
m_Pos
.
x
());
...
...
Write
Preview
Supports
Markdown
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