about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/theme.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/config/theme.c b/src/config/theme.c
index f081bd21..f7842bab 100644
--- a/src/config/theme.c
+++ b/src/config/theme.c
@@ -483,6 +483,14 @@ _load_preferences(void)
         }
     }
 
+    if (g_key_file_has_key(theme, "ui", "correction.char", NULL)) {
+        gchar *ch = g_key_file_get_string(theme, "ui", "correction.char", NULL);
+        if (ch && strlen(ch) > 0) {
+            prefs_set_omemo_char(ch[0]);
+            g_free(ch);
+        }
+    }
+
     // load window positions
     if (g_key_file_has_key(theme, "ui", "titlebar.position", NULL) &&
             g_key_file_has_key(theme, "ui", "mainwin.position", NULL) &&