[umbrello] [Bug 414520] No control points are created for association lines in 'spline' layout default mode
Ralf Habacker
bugzilla_noreply at kde.org
Tue Nov 26 09:39:50 GMT 2019
https://bugs.kde.org/show_bug.cgi?id=414520
Ralf Habacker <ralf.habacker at freenet.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Latest Commit| |https://invent.kde.org/kde/
| |umbrello/commit/3c5ac30a5c8
| |ebf74d48135f9f25b42cc5a1e44
| |e0
Version Fixed In| |2.29.90 (KDE Applications
| |19.11.90)
Status|REPORTED |RESOLVED
--- Comment #1 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 3c5ac30a5c8ebf74d48135f9f25b42cc5a1e44e0 by Ralf Habacker.
Committed on 26/11/2019 at 09:30.
Pushed by habacker into branch 'release/19.12'.
Fix 'No control points are created for association lines in "spline" layout
default mode'
BUG:414520
FIXED-IN:2.29.90 (KDE Applications 19.11.90)
M +2 -2 umbrello/umlwidgets/associationline.cpp
https://invent.kde.org/kde/umbrello/commit/3c5ac30a5c8ebf74d48135f9f25b42cc5a1e44e0
diff --git a/umbrello/umlwidgets/associationline.cpp
b/umbrello/umlwidgets/associationline.cpp
index cfbb0b43c..fa6996435 100644
--- a/umbrello/umlwidgets/associationline.cpp
+++ b/umbrello/umlwidgets/associationline.cpp
@@ -55,8 +55,6 @@ AssociationLine::AssociationLine(AssociationWidget
*association)
setFlag(QGraphicsLineItem::ItemIsSelectable);
setAcceptHoverEvents(true);
setZValue(3);
- //setLayout(Uml::LayoutType::Spline);
- //createSplinePoints();
}
/**
@@ -508,6 +506,8 @@ void AssociationLine::calculateInitialEndPoints()
} else if (!m_associationWidget->isSelf() && count() < 2) {
setEndPoints(QPointF(), QPointF());
}
+ if (m_layout == Uml::LayoutType::Spline)
+ createSplinePoints();
}
/**
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list