Skip to content

Commit a76f371

Browse files
committed
[utils/mc_log_ui] Stop the animation before saving it
1 parent 13ecd6a commit a76f371

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/mc_log_gui/mc_log_ui/mc_log_plotcanvas.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,6 +1520,8 @@ def stopAnimation(self):
15201520
self.draw()
15211521

15221522
def saveAnimation(self):
1523+
if self.animationButton.isChecked():
1524+
self.animationButton.toggle()
15231525
if not self.animationButton.isChecked():
15241526
self.startAnimation()
15251527
if not self.animation:

0 commit comments

Comments
 (0)