[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Tue Mar 8 14:31:07 UTC 2005
CVS commit by okellogg:
setClassWidgetOptions(): Also apply to interface widgets.
M +3 -2 umlview.cpp 1.210
--- kdesdk/umbrello/umbrello/umlview.cpp #1.209:1.210
@@ -2998,6 +2998,7 @@ void UMLView::setClassWidgetOptions( Cla
while ( (pWidget = wit.current()) != 0 ) {
++wit;
- if( pWidget -> getBaseType() == Uml::wt_Class ) {
- page -> setWidget( static_cast<ClassWidget *>( pWidget ) );
+ Uml::Widget_Type wt = pWidget->getBaseType();
+ if (wt == Uml::wt_Class || wt == Uml::wt_Interface) {
+ page -> setWidget( static_cast<ClassifierWidget *>(pWidget) );
page -> updateUMLWidget();
}
More information about the umbrello-devel
mailing list