diff --git a/Applications/DataExplorer/DataView/GMSHPrefsDialog.cpp b/Applications/DataExplorer/DataView/GMSHPrefsDialog.cpp
index ac3acaf68cd46c07cc652f92c5329d4534b2f4c6..88b2f6d32f9e11a14b19e29751fa3c318ffd4b3d 100644
--- a/Applications/DataExplorer/DataView/GMSHPrefsDialog.cpp
+++ b/Applications/DataExplorer/DataView/GMSHPrefsDialog.cpp
@@ -58,7 +58,7 @@ GMSHPrefsDialog::GMSHPrefsDialog(GeoLib::GEOObjects const& geoObjects, QDialog*
     geoObjects.getStationVectorNames(geo_station_names);
 
     std::copy(geo_station_names.begin(), geo_station_names.end(),
-              geoNames.begin());
+              std::back_inserter(geoNames));
 
     std::size_t nGeoObjects(geoNames.size());