Fix crash when exporting surface. (#7705)

This commit is contained in:
jonjenssen authored and GitHub committed 2021-05-20 10:28:53 +02:00
1 parent af22b7f707
commit 242e23a7c9
1 file changed
+1 -1
@@ -35,7 +35,7 @@ bool RifSurfaceExporter::writeGocadTSurfFile( const QString& fil
QTextStream out( &exportFile );
QString headerForExport = headerForExport = "surface";
QString headerForExport = "surface";
if ( !headerText.isEmpty() ) headerForExport = headerText;
out << "GOCAD TSurf 1 \n";