Set correct config_version after first-run wizard finishes.
authorAndrej Kacian <ticho@claws-mail.org>
Mon, 1 Aug 2016 15:56:16 +0000 (17:56 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Mon, 1 Aug 2016 15:56:16 +0000 (17:56 +0200)
Patch by Christian Hesse <mail at eworm de>.

src/main.c

index 689eac0..5c15a62 100644 (file)
@@ -1459,6 +1459,7 @@ int main(int argc, char *argv[])
        }
 
        if (never_ran) {
+               prefs_common_get_prefs()->config_version = CLAWS_CONFIG_VERSION;
                prefs_common_write_config();
                plugin_load_standard_plugins ();
        } else {