From 4308e418ff1728df44288d973b74d1708cf0f790 Mon Sep 17 00:00:00 2001 From: Guillaume St-Pierre Date: Fri, 9 Dec 2022 16:53:19 -0500 Subject: [PATCH] Refresh the province editor when regenerating --- modules/ui/tools.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ui/tools.js b/modules/ui/tools.js index f7a1b7a6..cc669af6 100644 --- a/modules/ui/tools.js +++ b/modules/ui/tools.js @@ -171,6 +171,7 @@ function regenerateProvinces() { document.querySelectorAll("[id^=provinceCOA]").forEach(el => el.remove()); emblems.selectAll("use").remove(); if (layerIsOn("toggleEmblems")) drawEmblems(); + refreshAllEditors(); } function regenerateBurgs() {