2180: Don't count freshly loaded map as modified (fixes #2178) r=Learath2 a=def-

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.

Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
bors[bot] 2020-05-16 07:12:49 +00:00 committed by GitHub
commit e54bedd6b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}