Commit f7bdce1f authored by eric pellegrini's avatar eric pellegrini

Added system option for displaying file filter widget on MacOS

parent 5059a1e2
Pipeline #4235 passed with stages
in 16 minutes and 47 seconds
......@@ -2,12 +2,18 @@ import glob
import os
import platform
import wx
from MDANSE import PLATFORM
from MDANSE.Externals.pubsub import pub as PUBLISHER
# Hack for the (in)famous "(python:865): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent."
if platform.dist()[0].lower() == "ubuntu":
os.environ["UBUNTU_MENUPROXY"] = "0"
if PLATFORM.name == "macos":
wx.SystemOptions.SetOption("osx.openfiledialog.always-show-types","1")
from MDANSE import REGISTRY
from MDANSE.GUI.Plugins.DataPlugin import DataPlugin
from MDANSE.GUI.Plugins.JobPlugin import JobPlugin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment