mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
disable 'record noise profile' on osx
This commit is contained in:
parent
3274e143ea
commit
182c3688e6
1 changed files with 3 additions and 1 deletions
|
@ -43,9 +43,9 @@ class AnkiQt(QMainWindow):
|
|||
self.setLang()
|
||||
self.setupDocumentDir()
|
||||
self.setupFonts()
|
||||
self.setupSound()
|
||||
self.setupBackupDir()
|
||||
self.setupMainWindow()
|
||||
self.setupSound()
|
||||
self.alterShortcuts()
|
||||
self.setupTray()
|
||||
self.connectMenuActions()
|
||||
|
@ -1916,6 +1916,8 @@ day = :d""", d=yesterday)
|
|||
self.config.configPath, "noise.profile").\
|
||||
encode(sys.getfilesystemencoding())
|
||||
anki.sound.checkForNoiseProfile()
|
||||
if sys.platform.startswith("darwin"):
|
||||
self.mainWin.actionRecordNoiseProfile.setEnabled(False)
|
||||
|
||||
def onRepeatAudio(self):
|
||||
playFromText(self.currentCard.question)
|
||||
|
|
Loading…
Reference in a new issue