r15052 by jghali - #9084 : incorrect update of flow around frame when resizing frames

scribus-commit scribus-commit at lists.scribus.net
Fri May 7 00:50:34 CEST 2010


Revision: 15052
Author: jghali
Date: 2010-05-06T22:44:04.656867Z
Commit message: #9084 : incorrect update of flow around frame when resizing frames

Changeset: 
M  /trunk/Scribus/scribus/canvasgesture_resize.cpp

Diffs:
Index: scribus/canvasgesture_resize.cpp
===================================================================
--- scribus/canvasgesture_resize.cpp	(revision 15051)
+++ scribus/canvasgesture_resize.cpp	(revision 15052)
@@ -162,8 +162,8 @@
 		{
 			for (int i = 0; i < m_doc->m_Selection->count(); ++i)
 				m_doc->m_Selection->itemAt(i)->checkChanges();
-			currItem->invalidateLayout();
-			currItem->update();
+			m_doc->invalidateRegion(m_mousePressBounds.unite(m_bounds));
+			m_doc->regionsChanged()->update(m_mousePressBounds.unite(m_bounds));
 		}
 	}
 //	qDebug() << "ResizeGesture::release: transaction" << m_transactionStarted;




More information about the scribus-commit mailing list