From dde3c13cfe245ad8d80557cfa0f0215282f89620 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 9 Feb 2010 04:08:03 +0900 Subject: [PATCH] add some more file types --- ankiqt/ui/facteditor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ankiqt/ui/facteditor.py b/ankiqt/ui/facteditor.py index a47ec038e..d41deb8aa 100644 --- a/ankiqt/ui/facteditor.py +++ b/ankiqt/ui/facteditor.py @@ -898,7 +898,8 @@ class FactEditor(object): def onAddSound(self): # get this before we open the dialog w = self.focusedEdit() - key = _("Sounds/Videos (*.mp3 *.ogg *.wav *.avi *.ogv *.mpg *.mpeg *.mov)") + key = _("Sounds/Videos (*.mp3 *.ogg *.wav *.avi *.ogv " + "*.mpg *.mpeg *.mov *.mp4 *.mkv)") file = ui.utils.getFile(self.parent, _("Add audio"), "audio", key) if not file: return