Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37755105
en ru br
ALT Linux repositórios
S:3.2.1-alt6

Group :: Escritórios
RPM: calligra

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0003-Fix-Bug-423038-Annotation-shape-crashes-on-paste.patch
Download


From 2dea3f29791a2c157876824ce3e59291eeb0b200 Mon Sep 17 00:00:00 2001
From: Dag Andersen <danders@get2net.dk>
Date: Tue, 16 Jun 2020 10:06:01 +0200
Subject: [PATCH 03/54] Fix Bug 423038 - Annotation shape crashes on paste
BUG: 423038
Reviewers:
CCMAIL: cbo@boemann.dk
---
 plugins/textshape/AnnotationTextShapeFactory.cpp | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/plugins/textshape/AnnotationTextShapeFactory.cpp b/plugins/textshape/AnnotationTextShapeFactory.cpp
index 6467222ce32..c28ed1eeb23 100644
--- a/plugins/textshape/AnnotationTextShapeFactory.cpp
+++ b/plugins/textshape/AnnotationTextShapeFactory.cpp
@@ -103,6 +103,8 @@ KoShape *AnnotationTextShapeFactory::createDefaultShape(KoDocumentResourceManage
             document.setChangeTracker(changeTracker);
         }
 
+        document.setShapeController(documentResources->shapeController());
+
         //update the resources of the document
         annotation->updateDocumentData();
         annotation->setImageCollection(documentResources->imageCollection());
-- 
2.31.1
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009