[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Wed Jul 7 19:51:04 UTC 2004
CVS commit by okellogg:
mouseRelease(): Consider message type when constructing messageText.
M +4 -1 toolbarstatemessages.cpp 1.7
--- kdesdk/umbrello/umbrello/toolbarstatemessages.cpp #1.6:1.7
@@ -79,5 +79,8 @@ void ToolBarStateMessages::mouseRelease(
{
//clicked on second sequence line to create message
- FloatingText* messageText = new FloatingText(m_pUMLView, tr_Seq_Message, "");
+ Uml::Text_Role tr = tr_Seq_Message;
+ if (getMessageType() == sequence_message_synchronous)
+ tr = tr_Seq_Message_Self;
+ FloatingText* messageText = new FloatingText(m_pUMLView, tr, "");
messageText->setFont( m_pUMLView->getFont() );
More information about the umbrello-devel
mailing list