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

Oliver Kellogg okellogg at users.sourceforge.net
Mon Mar 20 13:04:05 UTC 2006


SVN commit 520788 by okellogg:

setAssoc(): Go back to arrow tool after installing an association.
CCMAIL:353344 at bugs.debian.org


 M  +1 -0      ChangeLog  
 M  +3 -0      umbrello/umlview.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #520787:520788
@@ -1,5 +1,6 @@
 Version 1.5.3
 
+* Switch to arrow after object creation (http://bugs.debian.org/353344)
 * Bugs/wishes from http://bugs.kde.org:
 * Static variables in java code are not marked static (59190)
 * Save autosave file to a more obvious place (72019)
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlview.cpp #520787:520788
@@ -2158,6 +2158,9 @@
             }
         }
         m_pDoc->setModified();
+        // go back to arrow tool
+        UMLApp::app()->getWorkToolBar()->setDefaultTool();
+        setCursor( KCursor::arrowCursor() );
     } else {
         KMessageBox::error(0, i18n("Incorrect use of associations."), i18n("Association Error"));
     }




More information about the umbrello-devel mailing list