Don't count freshly loaded map as modified (fixes #2178)

The reason is that we increased the sensitivity of the modified flag to
include adding layers and groups, and simply loading the map already
adds those, so every loaded map was considered modified.
This commit is contained in:
def 2020-05-16 08:17:48 +02:00
parent 7aa69188b5
commit b480492ded

View file

@ -1294,6 +1294,7 @@ int CEditorMap::Load(class IStorage *pStorage, const char *pFileName, int Storag
else
return 0;
m_Modified = false;
return 1;
}