mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2711 Project File : Use forward slash for project file path in XML
This commit is contained in:
parent
d48c2b7aa9
commit
9550864c9e
@ -22,6 +22,7 @@
|
||||
|
||||
#include "RiaArgumentParser.h"
|
||||
#include "RiaBaseDefs.h"
|
||||
#include "RiaFilePathTools.h"
|
||||
#include "RiaImportEclipseCaseTools.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaPreferences.h"
|
||||
@ -909,7 +910,8 @@ bool RiaApplication::askUserToSaveModifiedProject()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RiaApplication::saveProjectAs(const QString& fileName)
|
||||
{
|
||||
m_project->fileName = fileName;
|
||||
// Make sure we always store path with forward slash to avoid issues when opening the project file on Linux
|
||||
m_project->fileName = RiaFilePathTools::toInternalSeparator(fileName);
|
||||
|
||||
storeTreeViewState();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user