mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
add some more file types
This commit is contained in:
parent
dccdce9c58
commit
dde3c13cfe
1 changed files with 2 additions and 1 deletions
|
@ -898,7 +898,8 @@ class FactEditor(object):
|
||||||
def onAddSound(self):
|
def onAddSound(self):
|
||||||
# get this before we open the dialog
|
# get this before we open the dialog
|
||||||
w = self.focusedEdit()
|
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)
|
file = ui.utils.getFile(self.parent, _("Add audio"), "audio", key)
|
||||||
if not file:
|
if not file:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue