mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#4538 Skip Save project at exit when no data has changed
Guard changes in preferences and reset change detector when project is closed
This commit is contained in:
@@ -204,7 +204,7 @@ bool RiaGuiApplication::saveProject()
|
||||
{
|
||||
CVF_ASSERT(m_project.notNull());
|
||||
|
||||
if (!caf::Utils::fileExists(m_project->fileName()))
|
||||
if (!isProjectSavedToDisc())
|
||||
{
|
||||
return saveProjectPromptForFileName();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user