summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--logo/src/xlogo/storage/workspace/WorkspaceConfig.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/logo/src/xlogo/storage/workspace/WorkspaceConfig.java b/logo/src/xlogo/storage/workspace/WorkspaceConfig.java
index 7f67897..6e52877 100644
--- a/logo/src/xlogo/storage/workspace/WorkspaceConfig.java
+++ b/logo/src/xlogo/storage/workspace/WorkspaceConfig.java
@@ -629,6 +629,8 @@ public class WorkspaceConfig extends StorableObject implements Serializable {
}
public Language getLanguage() {
+ if (language == null)
+ return Language.LANGUAGE_ENGLISH;
return language;
}