Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 8ca1b046 authored by Ralf Habacker's avatar Ralf Habacker

Potiental crash fix

parent d39917d2
......@@ -1618,8 +1618,10 @@ void UMLScene::selectWidgets(qreal px, qreal py, qreal qx, qreal qy)
// Automatically select all messages if two object widgets are selected
foreach(MessageWidget *w, messageList()) {
if (w->objectWidget(Uml::RoleType::A)->isSelected() &&
w->objectWidget(Uml::RoleType::B)->isSelected()) {
if (w->objectWidget(Uml::RoleType::A) &&
w->objectWidget(Uml::RoleType::B) &&
w->objectWidget(Uml::RoleType::A)->isSelected() &&
w->objectWidget(Uml::RoleType::B)->isSelected()) {
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