diff --git a/ReadMe.txt b/ReadMe.txt index 54d1d02..f2a79dd 100644 --- a/ReadMe.txt +++ b/ReadMe.txt @@ -63,6 +63,10 @@ LINKS CHANGES +Version 2.2 (2020-12-08) + +- The KML folder is now saved when changing the KML script for a custom one via the menu "Change KML Script...". + Version 2.1 (2020-11-23) diff --git a/app/src/main/assets/ReadMe.txt b/app/src/main/assets/ReadMe.txt index a645ade..da67103 100644 --- a/app/src/main/assets/ReadMe.txt +++ b/app/src/main/assets/ReadMe.txt @@ -63,6 +63,10 @@ LINKS CHANGES +Version 2.2 (2020-12-08) + +- The KML folder is now saved when changing the KML script for a custom one via the menu "Change KML Script...". + Version 2.1 (2020-11-23) diff --git a/app/src/main/java/org/emulator/forty/eight/MainActivity.java b/app/src/main/java/org/emulator/forty/eight/MainActivity.java index 1834875..cf8bb73 100644 --- a/app/src/main/java/org/emulator/forty/eight/MainActivity.java +++ b/app/src/main/java/org/emulator/forty/eight/MainActivity.java @@ -994,6 +994,8 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On // We only change the KML script here. int result = NativeLib.onViewScript(scriptItem.filename, scriptItem.folder); if(result > 0) { + //TODO no need to call changeKMLFolder(scriptItem.folder); + settings.putString("settings_kml_folder_embedded", scriptItem.folder); displayKMLTitle(); showKMLLog(); } else