Skip to content

Commit

Permalink
Merge branch 'uvcdat-bug312-add_anim_ext' into uvcdat-next
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 committed Nov 4, 2013
2 parents e7d18f2 + b7f2445 commit a779248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vistrails/gui/uvcdat/animationWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def paused(self):

def save(self):
fnm = str(QtGui.QFileDialog.getSaveFileName(None,"MP4 file name...",filter="MP4 file (*.mp4, *.mpeg)"))
if fnm[-3:].lower() not in ["mp4","mov"]:
if fnm[-4:].lower() not in [".mp4",".mov",".avi"]:
fnm+=".mp4"
self.canvas.animate.save(fnm)

Expand Down

0 comments on commit a779248

Please sign in to comment.