mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
hide 'alternative theme' on darwin
This commit is contained in:
parent
324226fff2
commit
d1ae9572d2
1 changed files with 3 additions and 0 deletions
|
@ -110,6 +110,9 @@ class Preferences(QDialog):
|
|||
self.dialog.splitQA.setChecked(self.config['splitQA'])
|
||||
self.dialog.addZeroSpace.setChecked(self.config['addZeroSpace'])
|
||||
self.dialog.alternativeTheme.setChecked(self.config['alternativeTheme'])
|
||||
if sys.platform.startswith("darwin"):
|
||||
self.dialog.alternativeTheme.setChecked(False)
|
||||
self.dialog.alternativeTheme.setShown(False)
|
||||
|
||||
def updateAdvanced(self):
|
||||
self.config['showToolbar'] = self.dialog.showToolbar.isChecked()
|
||||
|
|
Loading…
Reference in a new issue