koffice/krita/ui

Cyrille Berger cyb at lepi.org
Sat Apr 11 23:56:33 CEST 2009


SVN commit 952454 by berger:

Fix: crash when croping a layer created from an imported image

No reason why this bug doesn't affect branch, can someone review ?

CCMAIL:kimageshop at kde.org

 M  +1 -0      kis_import_catcher.cc  


--- trunk/koffice/krita/ui/kis_import_catcher.cc #952453:952454
@@ -65,6 +65,7 @@
             }
 
             importedImageLayer->setName(m_url.prettyUrl());
+            importedImageLayer->setImage(m_view->image());
 
             KisNodeSP parent = 0;
             KisLayerSP currentActiveLayer = m_view->activeLayer();


More information about the kimageshop mailing list