[Uml-devel] kdesdk/umbrello/umbrello/dialogs

Sebastian Stein seb.kde at hpfsc.de
Sun Feb 1 10:24:04 UTC 2004


CVS commit by sstein: 

fix bug #73278: changing the name of a state causes it to be drawn in bold

This now works in HEAD, I will backport the fix to KDE 3.2 in some days, so
that the problem will be solved with KDE 3.2.1. When I have done this, I will
close the bug report.


  M +3 -0      statedialog.cpp   1.7


--- kdesdk/umbrello/umbrello/dialogs/statedialog.cpp  #1.6:1.7
@@ -68,4 +68,5 @@ void StateDialog::applyPage( Page page )
                 case ColorPage:
                         m_pColorPage -> updateUMLWidget();
+                        break;
 
                 case FontPage:
@@ -117,4 +118,6 @@ void StateDialog::setupGeneralPage() {
 
 void StateDialog::setupFontPage() {
+        if ( !m_pStateWidget )
+                return;
         QVBox * page = addVBoxPage( i18n("Font"), i18n("Font Settings"), DesktopIcon( "fonts")  );
         m_pChooser = new KFontChooser( (QWidget*)page, "font", false, QStringList(), false);






More information about the umbrello-devel mailing list