r21070 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Mar 7 21:06:24 UTC 2016


Author: jghali
Date: Mon Mar  7 21:06:24 2016
New Revision: 21070

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21070
Log:
#13775: Alternatively clicking between 2 text blocks crashes with Signal 6

Modified:
    trunk/Scribus/scribus/canvasmode_edit.cpp

Modified: trunk/Scribus/scribus/canvasmode_edit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21070&path=/trunk/Scribus/scribus/canvasmode_edit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edit.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_edit.cpp	Mon Mar  7 21:06:24 2016
@@ -278,6 +278,7 @@
 	m_view->MidButt = false;
 	Mxp = Myp = -1;
 	Dxp = Dyp = -1;
+	SeRx = SeRy = -1;
 	oldCp = Cp = -1;
 	frameResizeHandle = -1;
 	setModeCursor();
@@ -600,7 +601,10 @@
 						m_view->setCursor(QCursor(Qt::ArrowCursor));
 					}
 					if (currItem->asTextFrame())
+					{
 						m_view->slotSetCurs(m->globalPos().x(), m->globalPos().y());
+						oldCp = currItem->itemText.cursorPosition();
+					}
 				}
 				else
 				{




More information about the scribus-commit mailing list