mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix NPE for Preferences.get() in Export to Application
This commit is contained in:
@@ -78,6 +78,7 @@ public class ExportPrompt {
|
||||
String pref = Preferences.get(EXPORT_VARIANTS);
|
||||
if (pref == null) {
|
||||
pref = Platform.getVariant(); // just add myself
|
||||
Preferences.set(EXPORT_VARIANTS, pref);
|
||||
}
|
||||
StringList selectedVariants = new StringList(pref.split(","));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user