r13782 by jghali - make redrawAll() effect immediately visible to user by processing events right after DrawNew() call

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


Revision: 13782
Author: jghali
Date: 2009-07-16T21:57:58.511957Z
Commit message: make redrawAll() effect immediately visible to user by processing events right after DrawNew() call

Changeset: 
M  /trunk/Scribus/scribus/plugins/scriptplugin/cmdpage.cpp

Diffs:
Index: scribus/plugins/scriptplugin/cmdpage.cpp
===================================================================
--- scribus/plugins/scriptplugin/cmdpage.cpp	(revision 13781)
+++ scribus/plugins/scriptplugin/cmdpage.cpp	(revision 13782)
@@ -23,6 +23,7 @@
 	if(!checkHaveDocument())
 		return NULL;
 	ScCore->primaryMainWindow()->view->DrawNew();
+	qApp->processEvents();
  //	Py_INCREF(Py_None);
  //	return Py_None;
 	Py_RETURN_NONE;




More information about the scribus-commit mailing list