From a4091454ec4e1f0ae9f982a92ad7d4b59ce10a56 Mon Sep 17 00:00:00 2001 From: PCigales <58741513+PCigales@users.noreply.github.com> Date: Sun, 15 Oct 2023 02:38:35 +0200 Subject: [PATCH] Fix --- GPXTweaker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPXTweaker.py b/GPXTweaker.py index 8f944f9..85bfa61 100644 --- a/GPXTweaker.py +++ b/GPXTweaker.py @@ -8196,7 +8196,7 @@ class GPXTweakerWebInterfaceServer(): ' if (t.status != 200) {\r\n' \ ' document.getElementById("tset").selectedIndex = tset;\r\n' \ ' if (nset == null) {\r\n' \ - ' tlevel = nlevel;\r\n' \ + ' tlevel = nlevel || 1;\r\n' \ ' layers = [];\r\n' \ ' if (treset == 2) {set_jmaps();}\r\n' \ ' for (const jmap of jmaps) {\r\n' \