[Uml-devel] kdesdk/umbrello/umbrello

Sebastian Stein seb.kde at hpfsc.de
Wed Aug 27 12:48:14 UTC 2003


CVS commit by sstein: 

KASTLE:
- make delete multiple items work; sometimes one item was not deleted


  M +5 -0      umlview.cpp   1.74


--- kdesdk/umbrello/umbrello/umlview.cpp  #1.73:1.74
@@ -1041,4 +1041,9 @@ void UMLView::deleteSelection()
         }
 
+        // sometimes we miss one widget, so call this function again to remove it as
+        // well
+        if (m_SelectedList.count() != 0)
+                deleteSelection();
+
         //make sure list empty - it should be anyway, just a check.
         m_SelectedList.clear();






More information about the umbrello-devel mailing list