r13781 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:30 CEST 2009
Revision: 13781
Author: jghali
Date: 2009-07-16T21:57:24.024936Z
Commit message: make redrawAll() effect immediately visible to user by processing events right after DrawNew() call
Changeset:
M /branches/Version135/Scribus/scribus/plugins/scriptplugin/cmdpage.cpp
Diffs:
Index: scribus/plugins/scriptplugin/cmdpage.cpp
===================================================================
--- scribus/plugins/scriptplugin/cmdpage.cpp (revision 13780)
+++ scribus/plugins/scriptplugin/cmdpage.cpp (revision 13781)
@@ -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