From 91018672242c630eabe30cc91612fd62d3bcfbb5 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 31 May 2013 14:16:37 +0900 Subject: [PATCH] only show browser close menu item on mac --- aqt/browser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aqt/browser.py b/aqt/browser.py index fb8a11b83..4f42c16d3 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -376,6 +376,8 @@ class Browser(QMainWindow): def setupMenus(self): # actions c = self.connect; f = self.form; s = SIGNAL("triggered()") + if not isMac: + f.actionClose.setVisible(False) c(f.actionReposition, s, self.reposition) c(f.actionReschedule, s, self.reschedule) c(f.actionCram, s, self.cram)