Commit 9e176974 authored by Matt Clarkson's avatar Matt Clarkson

Issue #10: Force millisecond label to update just before we grab video image.

parent 6288803b
......@@ -106,6 +106,10 @@ class DemoGui(QtWidgets.QWidget):
@Slot()
def update_image(self):
"""Updates the image."""
# Force updating the GUI to get the latest possible time.
self.text.update()
start_time = time.time()
# Then grab image
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment