mirror of
https://github.com/ankitects/anki.git
synced 2025-12-10 13:26:56 -05:00
make sure to set editcurrent on/off, remove pygame from osx build
This commit is contained in:
parent
002ac4ec95
commit
53834220da
2 changed files with 3 additions and 1 deletions
|
|
@ -1406,6 +1406,7 @@ Error was:\n%(f1)s\n...\n%(f2)s""") % {'f1': fmt1, 'f2': fmt2})
|
|||
self.maybeEnableUndo()
|
||||
self.maybeShowLookup(False)
|
||||
self.maybeShowKanjiStats()
|
||||
self.mainWin.actionEditCurrent.setEnabled(False)
|
||||
self.mainWin.menuCurrent.setEnabled(False)
|
||||
|
||||
def enableCardMenuItems(self):
|
||||
|
|
@ -1416,6 +1417,7 @@ Error was:\n%(f1)s\n...\n%(f2)s""") % {'f1': fmt1, 'f2': fmt2})
|
|||
(hasSound(self.currentCard.answer) and
|
||||
self.state != "getQuestion"))
|
||||
self.mainWin.actionRepeatAudio.setEnabled(snd)
|
||||
self.mainWin.actionEditCurrent.setEnabled(True)
|
||||
self.mainWin.menuCurrent.setEnabled(True)
|
||||
|
||||
def maybeShowKanjiStats(self):
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ OPTIONS = {
|
|||
'packages': ["sqlalchemy", "pysqlite2", "simplejson"],
|
||||
'excludes': ['_gtkagg', '_tkagg', "_wxagg",
|
||||
"wx", "_wx",
|
||||
"Tkconstants", "Tkinter", "tcl"],
|
||||
"Tkconstants", "Tkinter", "tcl", "pygame"],
|
||||
'dylib_excludes': ['libncurses.5.dylib',
|
||||
'_wxagg.so',
|
||||
'_tkagg.so',
|
||||
|
|
|
|||
Loading…
Reference in a new issue