mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-20 22:54:10 +00:00
PICARD-571: Fix monospace font on macOS
This commit is contained in:
@@ -201,6 +201,8 @@ class Tagger(QtWidgets.QApplication):
|
||||
if IS_MACOS:
|
||||
# On macOS it is not common that the global menu shows icons
|
||||
self.setAttribute(QtCore.Qt.AA_DontShowIconsInMenus)
|
||||
# Ensure monospace font works on macOS
|
||||
QtGui.QFont.insertSubstitution('Monospace', 'Menlo')
|
||||
|
||||
# Setup logging
|
||||
log.debug("Starting Picard from %r", os.path.abspath(__file__))
|
||||
|
||||
Reference in New Issue
Block a user