summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2017-12-12 23:40:57 +0800
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-12-19 20:19:03 +0100
commit15946e60b8f38ed978883baec97e487e88824ff6 (patch)
tree07cae8d834a813efe40e72d36375a6467636dd84 /svx
parent72b3238cc5e68fea26716fdceb26e43668e2e1ad (diff)
tdf#51188: notify that geometry has changed when dragging the connector.
Change-Id: I7b7cb7719c9c735eeb4f964b1ae6ce6819186aed Reviewed-on: https://gerrit.libreoffice.org/46319 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> (cherry picked from commit 98de1ed2e2c49ea52f398f666aef7480b60e4e3c) Reviewed-on: https://gerrit.libreoffice.org/46516 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdoedge.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx
index f81c1b3d5710..02ef84946b31 100644
--- a/svx/source/svdraw/svdoedge.cxx
+++ b/svx/source/svdraw/svdoedge.cxx
@@ -1854,6 +1854,8 @@ bool SdrEdgeObj::applySpecialDrag(SdrDragStat& rDragStat)
const bool bDragA(0 == rDragStat.GetHdl()->GetPointNum());
const Point aPointNow(rDragStat.GetNow());
+ rDragStat.SetEndDragChangesGeoAndAttributes(true);
+
if(rDragStat.GetPageView())
{
SdrObjConnection* pDraggedOne(bDragA ? &aCon1 : &aCon2);