#3421 Text File Export : Open file as text file when required

This commit is contained in:
Magne Sjaastad
2018-09-27 12:42:28 +02:00
parent 088638020b
commit a3d8fc1fb3
10 changed files with 12 additions and 12 deletions

View File

@@ -59,7 +59,7 @@ void RicExportFishbonesLateralsFeature::onActionTriggered(bool isChecked)
RiaLogging::info("Starting export of Fishbones well path laterals to : " + completeFilename);
QFile exportFile(completeFilename);
if (!exportFile.open(QIODevice::WriteOnly))
if (!exportFile.open(QIODevice::WriteOnly | QIODevice::Text))
{
RiaLogging::error("Could not open the file :\n" + completeFilename);
return;