From 2527fe2e1e0939d5f8dfc160d5b79e151eff5322 Mon Sep 17 00:00:00 2001 From: blitzman Date: Sat, 11 Feb 2017 22:20:32 -0500 Subject: [PATCH] Fix the fix for the crash in OS X --- gui/mainFrame.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gui/mainFrame.py b/gui/mainFrame.py index 53b830d98..38db39274 100644 --- a/gui/mainFrame.py +++ b/gui/mainFrame.py @@ -80,19 +80,19 @@ from time import gmtime, strftime import threading import webbrowser -disableOverrideEditor = False - if 'wxMac' not in wx.PlatformInfo or ('wxMac' in wx.PlatformInfo and wx.VERSION >= (3, 0)): from service.crest import Crest from service.crest import CrestModes from gui.crestFittings import CrestFittings, ExportToEve, CrestMgmt - try: - from gui.propertyEditor import AttributeEditor - except ImportError as e: - AttributeEditor = None - print("Error loading Attribute Editor: %s.\nAccess to Attribute Editor is disabled." % e.message) - disableOverrideEditor = True +disableOverrideEditor = False + +try: + from gui.propertyEditor import AttributeEditor +except ImportError as e: + AttributeEditor = None + print("Error loading Attribute Editor: %s.\nAccess to Attribute Editor is disabled." % e.message) + disableOverrideEditor = True logger = logging.getLogger(__name__)