mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Save profile settings to git
In order to streamline the view between desktop and mobile we need to save selected profile related settings to git. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
6518b0db45
commit
d4dbd0bee7
5 changed files with 23 additions and 2 deletions
|
@ -861,6 +861,10 @@ static void save_settings(git_repository *repo, struct dir *tree)
|
|||
call_for_each_dc(&b, save_one_device, false);
|
||||
cond_put_format(autogroup, &b, "autogroup\n");
|
||||
save_units(&b);
|
||||
if (prefs.tankbar)
|
||||
put_string(&b, "prefs TANKBAR\n");
|
||||
if (prefs.dcceiling)
|
||||
put_string(&b, "prefs DCCEILING\n");
|
||||
|
||||
blob_insert(repo, tree, &b, "00-Subsurface");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue