diff --git a/GUI/Model/From/SampleListModel.cpp b/GUI/Model/From/SampleListModel.cpp
index 8ebab50dc1b5c9ebe33555344b1bd398fccda254..3e33ad7a948d8ce8dbc1e01a3199f991afe14215 100644
--- a/GUI/Model/From/SampleListModel.cpp
+++ b/GUI/Model/From/SampleListModel.cpp
@@ -18,7 +18,7 @@
 #include "GUI/Model/Sample/MultiLayerItem.h"
 #include "GUI/Model/Sample/SampleModel.h"
 #include "GUI/Util/String.h"
-#include "GUI/View/Main/PyImportAssistant.h"
+#include "GUI/View/Project/PyImportAssistant.h"
 #include "Sample/Multilayer/MultiLayer.h"
 #include <QFontMetrics>
 #include <QIcon>
diff --git a/GUI/View/Main/ActionManager.cpp b/GUI/View/Main/ActionManager.cpp
index b7c4e194008d30eaf27d775d7bacc2d4fd6d17b3..281e2caf96d86f3376e85e463934665ac2c0f10f 100644
--- a/GUI/View/Main/ActionManager.cpp
+++ b/GUI/View/Main/ActionManager.cpp
@@ -23,7 +23,7 @@
 #include "GUI/View/Main/AboutDialog.h"
 #include "GUI/View/Main/MainWindow.h"
 #include "GUI/View/Project/ProjectManager.h"
-#include "GUI/View/Main/PyImportAssistant.h"
+#include "GUI/View/Project/PyImportAssistant.h"
 #include "GUI/View/SampleDesigner/SampleView.h"
 #include "GUI/View/Tool/mainwindow_constants.h"
 #include <QDesktopServices>
diff --git a/GUI/View/Main/PyImportAssistant.cpp b/GUI/View/Project/PyImportAssistant.cpp
similarity index 98%
rename from GUI/View/Main/PyImportAssistant.cpp
rename to GUI/View/Project/PyImportAssistant.cpp
index 01d18ba1ea71221ad3449d9a1b4d8b6762a8a65e..c6ad7abf8dc12305343d09c65af085f3bb267090 100644
--- a/GUI/View/Main/PyImportAssistant.cpp
+++ b/GUI/View/Project/PyImportAssistant.cpp
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Main/PyImportAssistant.cpp
+//! @file      GUI/View/Project/PyImportAssistant.cpp
 //! @brief     Implements class PyImportAssistant
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -14,7 +14,7 @@
 
 #ifdef BORNAGAIN_PYTHON
 
-#include "GUI/View/Main/PyImportAssistant.h"
+#include "GUI/View/Project/PyImportAssistant.h"
 #include "BABuild.h"
 #include "Base/Util/Assert.h"
 #include "Base/Util/SysUtils.h"
diff --git a/GUI/View/Main/PyImportAssistant.h b/GUI/View/Project/PyImportAssistant.h
similarity index 84%
rename from GUI/View/Main/PyImportAssistant.h
rename to GUI/View/Project/PyImportAssistant.h
index 03aef4efa759430e9e75ed47cdf3fe74857389d0..84f456a42b51ec3ad483d166bc6d0949a779e609 100644
--- a/GUI/View/Main/PyImportAssistant.h
+++ b/GUI/View/Project/PyImportAssistant.h
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Main/PyImportAssistant.h
+//! @file      GUI/View/Project/PyImportAssistant.h
 //! @brief     Implements class PyImportAssistant
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -12,8 +12,8 @@
 //
 //  ************************************************************************************************
 
-#ifndef BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
-#define BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
+#ifndef BORNAGAIN_GUI_VIEW_PROJECT_PYIMPORTASSISTANT_H
+#define BORNAGAIN_GUI_VIEW_PROJECT_PYIMPORTASSISTANT_H
 
 #ifdef BORNAGAIN_PYTHON
 
@@ -40,4 +40,4 @@ MultiLayerItem* populateModels(SampleModel* sampleModel, MaterialModel* material
 
 #endif // BORNAGAIN_PYTHON
 
-#endif // BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
+#endif // BORNAGAIN_GUI_VIEW_PROJECT_PYIMPORTASSISTANT_H