mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 17:43:51 +00:00
fix(editor): exportZone clears autoSavePendingChanges_ flag
quickSave was the only path that cleared the flag, but exportZone is also reachable through 'Export Open Format' and exportContentPack without going through quickSave. Now any successful zone export clears the dirty state so the asterisk and quit-confirm dialog reset properly.
This commit is contained in:
parent
5241bbd669
commit
c1b6c9f621
1 changed files with 4 additions and 0 deletions
|
|
@ -1356,6 +1356,10 @@ void EditorApp::exportZone(const std::string& outputDir) {
|
|||
LOG_INFO(" NPCs: ", npcSpawner_.spawnCount(), " creatures");
|
||||
LOG_INFO(" Quests: ", questEditor_.questCount());
|
||||
LOG_INFO("========================");
|
||||
|
||||
// Any path through exportZone counts as a save — clear the pending flag
|
||||
// so the dirty asterisk and quit-confirm dialog go away.
|
||||
autoSavePendingChanges_ = false;
|
||||
}
|
||||
|
||||
void EditorApp::exportContentPack(const std::string& destPath) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue