mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 15:17:12 -05:00
only show browser close menu item on mac
This commit is contained in:
parent
ec888eb2aa
commit
9101867224
1 changed files with 2 additions and 0 deletions
|
|
@ -376,6 +376,8 @@ class Browser(QMainWindow):
|
||||||
def setupMenus(self):
|
def setupMenus(self):
|
||||||
# actions
|
# actions
|
||||||
c = self.connect; f = self.form; s = SIGNAL("triggered()")
|
c = self.connect; f = self.form; s = SIGNAL("triggered()")
|
||||||
|
if not isMac:
|
||||||
|
f.actionClose.setVisible(False)
|
||||||
c(f.actionReposition, s, self.reposition)
|
c(f.actionReposition, s, self.reposition)
|
||||||
c(f.actionReschedule, s, self.reschedule)
|
c(f.actionReschedule, s, self.reschedule)
|
||||||
c(f.actionCram, s, self.cram)
|
c(f.actionCram, s, self.cram)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue