From c93b2afeaf671f5acba3f03b5b318ab621e5745e Mon Sep 17 00:00:00 2001 From: AstusRush <52925170+AstusRush@users.noreply.github.com> Date: Wed, 25 Nov 2020 13:32:05 +0100 Subject: [PATCH] Mac Frame Fix I am in the classical "just one more feature... and then polish everything that was unpolished due to the feature" cycle since April and thought to at least fix the mac frames on master. --- AGeLib/AGeMain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AGeLib/AGeMain.py b/AGeLib/AGeMain.py index 8d74e79..9d3797e 100644 --- a/AGeLib/AGeMain.py +++ b/AGeLib/AGeMain.py @@ -1,6 +1,6 @@ # Astus General Library Main File -Version = "2.0.0" +Version = "2.0.1" # Using Semantic Versioning 2.0.0 https://semver.org/ version = Version Author = "Robin \'Astus\' Albers" @@ -527,6 +527,7 @@ def __init__(self, args): self.enableHotkeys = True super(Main_App, self).__init__(args) self.setStyle("fusion") + self.setAttribute(QtCore.Qt.AA_DontUseNativeMenuBar) #Fixes to bar widget on MacOS/OSX/darwin/Apples OS sys.excepthook = trap_exc_during_debug try: msg = "Welcome " + getpass.getuser()