r15051 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:19 CEST 2010
Revision: 15051
Author: jghali
Date: 2010-05-06T22:43:40.451262Z
Commit message: #9084 : incorrect update of flow around frame when resizing frames
Changeset:
M /branches/Version135/Scribus/scribus/canvasgesture_resize.cpp
Diffs:
Index: scribus/canvasgesture_resize.cpp
===================================================================
--- scribus/canvasgesture_resize.cpp (revision 15050)
+++ scribus/canvasgesture_resize.cpp (revision 15051)
@@ -157,8 +157,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