e - config - profiles - scratch - fix to go back to default again

changes to restart scheme made the env var not work. this makes
scratch go back to scratch again.
This commit is contained in:
Carsten Haitzler 2020-12-18 21:32:10 +00:00
parent 32c37d084c
commit 9976be6f20
1 changed files with 1 additions and 0 deletions

View File

@ -358,6 +358,7 @@ _cb_scratch(void *data EINA_UNUSED, void *data2 EINA_UNUSED)
free(pdir);
}
e_config_profile_set("default");
e_config_profile_save();
a = e_action_find("restart");
if ((a) && (a->func.go)) a->func.go(NULL, NULL);
}