r16023 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:10:42 CET 2010


Author: jghali
Date: Sat Nov 27 16:10:42 2010
New Revision: 16023

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

Modified:
    branches/Version135/Scribus/scribus/canvasmode_edit.cpp

Modified: branches/Version135/Scribus/scribus/canvasmode_edit.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16023&path=/branches/Version135/Scribus/scribus/canvasmode_edit.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/canvasmode_edit.cpp (original)
+++ branches/Version135/Scribus/scribus/canvasmode_edit.cpp Sat Nov 27 16:10:42 2010
@@ -597,7 +597,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