You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't call draw() twice when Qt canvas first appears.
Right now the resizeEvent triggered from within the paintEvent will
itself trigger a second paintEvent. Adding a print to draw() shows that
this patch ensures that draw() only gets called once the first time the
canvas appears.
0 commit comments