mirror of
https://github.com/huderlem/porymap.git
synced 2026-04-24 14:57:08 -05:00
Don't automatically create empty MAPSEC display names
This commit is contained in:
parent
a00636260c
commit
0cf7a45890
|
|
@ -2426,7 +2426,7 @@ void Project::removeMapsec(const QString &idName) {
|
|||
}
|
||||
|
||||
void Project::setMapsecDisplayName(const QString &idName, const QString &displayName) {
|
||||
if (this->mapSectionDisplayNames[idName] == displayName)
|
||||
if (this->mapSectionDisplayNames.value(idName) == displayName)
|
||||
return;
|
||||
this->mapSectionDisplayNames[idName] = displayName;
|
||||
this->hasUnsavedDataChanges = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user