[Uml-devel] kdesdk/umbrello/umbrello
Klas Kalass
klas.kalass at gmx.de
Fri Mar 21 09:16:03 UTC 2003
CVS commit by kalass:
set the font for the FloatingText to that of the MessageWidget, otherwise the default font will be used for the message text when a document is freshly opened
M +3 -1 messagewidget.cpp 1.7
--- kdesdk/umbrello/umbrello/messagewidget.cpp #1.6:1.7
@@ -153,6 +153,8 @@ bool MessageWidget::activate(IDChangeLog
return false;
MessageWidgetData* widgetdata = static_cast<MessageWidgetData*>(m_pData);
- if( !m_pFText )
+ if( !m_pFText ) {
m_pFText = new FloatingText( m_pView, tr_Seq_Message, "" );
+ m_pFText->getData()->setFont(widgetdata->getFont());
+ }
if(widgetdata->m_nTextID != -1)
{
More information about the umbrello-devel
mailing list