r16024 by jghali - allow switching between text frames in text edit mode when current frame is locked

scribus-commit scribus-commit at lists.scribus.net
Sat Nov 27 17:17:21 CET 2010


Author: jghali
Date: Sat Nov 27 16:17:21 2010
New Revision: 16024

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16024
Log:
allow switching between text frames in text edit mode when current frame is locked

Modified:
    trunk/Scribus/scribus/canvasmode_edit.cpp

Modified: trunk/Scribus/scribus/canvasmode_edit.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16024&path=/trunk/Scribus/scribus/canvasmode_edit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edit.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_edit.cpp Sat Nov 27 16:17:21 2010
@@ -660,7 +660,7 @@
 	if (GetItem(&currItem))
 	{
 //		m_view->slotDoCurs(false);
-		if (!currItem->locked() && !currItem->asLine())
+		if ((!currItem->locked() || currItem->isTextFrame()) && !currItem->asLine())
 		{
 			FPoint canvasPoint = m_canvas->globalToCanvas(m->globalPos());
 			if (m_canvas->frameHitTest(QPointF(canvasPoint.x(), canvasPoint.y()), currItem) < 0)




More information about the scribus-commit mailing list