[Uml-devel] KDE/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Jul 22 22:16:05 UTC 2007
SVN commit 691089 by okellogg:
slotMenuSelection(): Call UMLDoc::setModified() after all else.
M +5 -5 classifierwidget.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/classifierwidget.cpp #691088:691089
@@ -399,12 +399,12 @@
case ListPopupMenu::mt_Operation:
case ListPopupMenu::mt_Template:
{
- UMLDoc *doc = UMLApp::app()->getDocument();
Uml::Object_Type ot = ListPopupMenu::convert_MT_OT(mt);
- if (Object_Factory::createChildObject(getClassifier(), ot))
- doc->setModified();
- updateComponentSize();
- update();
+ if (Object_Factory::createChildObject(getClassifier(), ot)) {
+ updateComponentSize();
+ update();
+ UMLApp::app()->getDocument()->setModified();
+ }
break;
}
case ListPopupMenu::mt_Show_Operations:
More information about the umbrello-devel
mailing list