Skip to content
Snippets Groups Projects
Commit 10af59d0 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov Committed by Mikhail Svechnikov
Browse files

enable py importer on mac

parent 7f9bb936
No related branches found
No related tags found
2 merge requests!1847rebase on latest r21,!1831Enable py script importer on mac
Pipeline #107900 passed
......@@ -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