Skip to content
Snippets Groups Projects
Commit da5d234b authored by Mikhail Svechnikov's avatar Mikhail Svechnikov Committed by Wuttke, Joachim
Browse files

enable py importer on mac

parent 1acf3435
No related branches found
No related tags found
1 merge request!1845rebase on r21 after 6aug
......@@ -95,11 +95,6 @@ SampleListView::SampleListView(QWidget* parent, ProjectDocument* document)
"Import sample from Python script.\n The script should contain a function "
"returning a valid multi-layer.");
#ifdef Q_OS_MAC
if (Base::System::getenv("PYTHONHOME").empty())
m_importSampleAction->setEnabled(false);
#endif
#ifdef BORNAGAIN_PYTHON
connect(m_importSampleAction, &QAction::triggered, this,
&SampleListView::importSampleFromPython);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment