Skip to content

Commit

Permalink
Fix missing window on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
jane.k committed Aug 2, 2024
1 parent 59af1cc commit bc8ee13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Facepager.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
# 'Contents', 'MacOS', 'QtWebEngineProcess'
# ))

# Fix BigSur not showing windows
if getattr(sys,'frozen', False) and sys.platform == 'darwin':
os.environ['QT_MAC_WANTS_LAYER']='1'
# Fix Mac not showing windows
if sys.platform == 'darwin':
os.environ['QT_MAC_WANTS_LAYER'] = '1'

class MainWindow(QMainWindow):

Expand Down

0 comments on commit bc8ee13

Please sign in to comment.