[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/dialogs

Oliver Kellogg okellogg at users.sourceforge.net
Thu Feb 9 12:15:05 UTC 2006


SVN commit 507685 by okellogg:

takeItem(): Call kapp->processEvents() to ensure the list item
removal is propagated thru the system before attempting further
classifier list item operations. (Some systems crash otherwise.)


 M  +2 -0      classifierlistpage.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/dialogs/classifierlistpage.cpp #507684:507685
@@ -21,6 +21,7 @@
 #include "../enumliteral.h"
 #include "../entityattribute.h"
 #include "../object_factory.h"
+#include <kapplication.h>
 #include <kbuttonbox.h>
 #include <kdebug.h>
 #include <klocale.h>
@@ -499,6 +500,7 @@
     int wasAtIndex = m_pClassifier->takeItem(listItem);
     if (wasAtIndex == -1)
         return false;
+    kapp->processEvents();
     peerIndex = -1;
     UMLObject *o;
     const Uml::Object_Type seekType = listItem->getBaseType();




More information about the umbrello-devel mailing list