Skip to content

Commit

Permalink
Update console_output.py
Browse files Browse the repository at this point in the history
Call QCoreApplication.processEvents() after writing to Python console, enabling incremental output from Python scripts. Fixes #8343.
  • Loading branch information
ajdunlap committed Jul 30, 2013
1 parent b9c9ec4 commit 3aad6df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/console/console_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def write(self, m):
self.out.write(m)

self.move_cursor_to_end()
QCoreApplication.processEvents()

def move_cursor_to_end(self):
"""Move cursor to end of text"""
Expand Down

0 comments on commit 3aad6df

Please sign in to comment.