Skip to content

Commit

Permalink
Merge pull request #301 from ales-erjavec/fixes/default-windows-font
Browse files Browse the repository at this point in the history
[FIX] application: Fix default application font on windows (QTBUG-61707)
  • Loading branch information
thocevar authored Jul 5, 2024
2 parents 552df2c + 1ff5286 commit c06b5b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions orangecanvas/application/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ def __init__(self, argv):
sh.setShowShortcutsInContextMenus(True)
if QT_VERSION_INFO < (5, 15): # QTBUG-61707
macos_set_nswindow_tabbing(False)
if QT_VERSION_INFO < (6, 0): # QTBUG-58610
# https://github.com/musescore/MuseScore/pull/5820
QApplication.setFont(QApplication.font("QMessageBox"))
self.configureStyle()

def event(self, event):
Expand Down

0 comments on commit c06b5b0

Please sign in to comment.