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

Oliver Kellogg okellogg at users.sourceforge.net
Thu Jun 7 09:54:11 UTC 2007


SVN commit 672498 by okellogg:

activate(): Fix condition for entering into paste handling code.

 M  +1 -1      umlwidget.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlwidget.cpp #672497:672498
@@ -481,7 +481,7 @@
     setSize(getWidth(), getHeight());
     m_bActivated = true;
     updateComponentSize();
-    if( m_pView -> getPastePoint().x() != 0 ) {
+    if (m_pView->getPaste()) {
         FloatingTextWidget * ft = 0;
         QPoint point = m_pView -> getPastePoint();
         int x = point.x() + getX();




More information about the umbrello-devel mailing list