Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call QCoreApplication.processEvents() after writing to Python console. Fixes #8343. #779

Merged
merged 1 commit into from Jul 31, 2013

Conversation

ajdunlap
Copy link
Contributor

This enables incremental output from Python code run in the Python console - currently the user has to wait until the function terminates before seeing any output, so he or she can't see progress indications, etc.

Call QCoreApplication.processEvents() after writing to Python console, enabling incremental output from Python scripts. Fixes qgis#8343.
@NathanW2
Copy link
Member

Normally using QCoreApplication.processEvents() is bad practice but because it's used all though out QGIS for now. It will be OK in that case. We can fix it later.

NathanW2 added a commit that referenced this pull request Jul 31, 2013
Call QCoreApplication.processEvents() after writing to Python console. Fix #8343
@NathanW2 NathanW2 merged commit 1302ecb into qgis:master Jul 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants