[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Fri Apr 15 15:09:43 UTC 2005


CVS commit by okellogg: 

mouseRelease(): Showing the operation dialog speeds up message creation.
CCBUG:101541


  M +5 -1      toolbarstatemessages.cpp   1.17


--- kdesdk/umbrello/umbrello/toolbarstatemessages.cpp  #1.16:1.17
@@ -118,8 +118,12 @@ void ToolBarStateMessages::mouseRelease(
                         m_pUMLView->connect(m_pUMLView, SIGNAL(sigColorChanged(Uml::IDType)), message, SLOT(slotColorChanged(Uml::IDType)));
 
-                        message->setActivated();
+                        message->activate();
 
                         m_pSelectedWidget = 0;
                         m_pUMLView->getMessageList().append(message);
+                        FloatingText *ft = message->getFloatingText();
+                        ft->showOpDlg();
+                        message->setTextPosition();
+                        m_pUMLView->getWidgetList().append(ft);
                 }
         }






More information about the umbrello-devel mailing list