r13780 by jghali - #8285 : while loop with textOverflows() crashes scribus Allow correct update of frame layout using a redrawAll() call

scribus-commit scribus-commit at lists.scribus.net
Fri Jul 17 00:00:16 CEST 2009


Revision: 13780
Author: jghali
Date: 2009-07-16T21:55:10.509422Z
Commit message: #8285 : while loop with textOverflows() crashes scribus
Allow correct update of frame layout using a redrawAll() call

Changeset: 
M  /branches/Version133x/Scribus/scribus/plugins/scriptplugin/cmdpage.cpp

Diffs:
Index: scribus/plugins/scriptplugin/cmdpage.cpp
===================================================================
--- scribus/plugins/scriptplugin/cmdpage.cpp	(revision 13779)
+++ scribus/plugins/scriptplugin/cmdpage.cpp	(revision 13780)
@@ -21,6 +21,7 @@
 		return NULL;
 	ScMW->ScriptRunning = false;
 	ScMW->view->DrawNew();
+	qApp->processEvents();
 	ScMW->ScriptRunning = true;
 	Py_INCREF(Py_None);
 	return Py_None;




More information about the scribus-commit mailing list