diff --git a/Applications/DataExplorer/DataView/GEOModels.cpp b/Applications/DataExplorer/DataView/GEOModels.cpp
index 08115fe81eaf7f94593dd929c3ef276673af108b..3f9c83934d4c22103920ca2482f8dbd18a601c6b 100644
--- a/Applications/DataExplorer/DataView/GEOModels.cpp
+++ b/Applications/DataExplorer/DataView/GEOModels.cpp
@@ -158,12 +158,9 @@ void GEOModels::renameGeometry(std::string const& old_name,
 }
 
 void GEOModels::connectPolylineSegments(
-    const std::string& geoName,
-    std::vector<std::size_t> const& indexlist,
-    double const proximity,
-    std::string const& ply_name,
-    bool const closePly,
-    bool const triangulatePly)
+    const std::string& geoName, std::vector<std::size_t> const& indexlist,
+    double const proximity, std::string const& ply_name, bool const closePly,
+    bool const triangulatePly, std::string const& gmsh_path)
 {
     GeoLib::PolylineVec* plyVec = _geo_objects.getPolylineVecObj(geoName);
 
@@ -196,7 +193,8 @@ void GEOModels::connectPolylineSegments(
                     INFO(
                         "Creating a surface by triangulation of the polyline "
                         "...");
-                    if (FileIO::createSurface(*new_line, _geo_objects, geoName))
+                    if (FileIO::createSurface(*new_line, _geo_objects, geoName,
+                                              gmsh_path))
                     {
                         INFO("\t done");
                     }
diff --git a/Applications/DataExplorer/DataView/GEOModels.h b/Applications/DataExplorer/DataView/GEOModels.h
index e685d0551533dffd8f6e79c4a9fbb59ef8d49144..525cc21cea61a08e9165f405e5ebe9ffd19dc9ea 100644
--- a/Applications/DataExplorer/DataView/GEOModels.h
+++ b/Applications/DataExplorer/DataView/GEOModels.h
@@ -94,8 +94,8 @@ public slots:
                                  std::vector<std::size_t> const& indexlist,
                                  double const proximity,
                                  std::string const& ply_name,
-                                 bool const closePly,
-                                 bool const triangulatePly);
+                                 bool const closePly, bool const triangulatePly,
+                                 std::string const& gmsh_path);
 
 protected:
     GeoTreeModel* _geoModel;