mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Save more planner settings into prefs
This adds to the prefs struct the variables last_stop, verbatim_plan, display_runtime, display_duration, and display_transitions from the planner so their values are saved from one session to the next. The widgets for some of those settings had default values in plannerSettings.ui; remove them since the new code in subsurfacestartup.c takes care of initializing them. Signed-off-by: Gaetan Bisson <bisson@archlinux.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3ff73d0a66
commit
5bf23381e0
4 changed files with 30 additions and 6 deletions
5
pref.h
5
pref.h
|
|
@ -73,6 +73,11 @@ struct preferences {
|
|||
char *proxy_pass;
|
||||
bool doo2breaks;
|
||||
bool drop_stone_mode;
|
||||
bool last_stop;
|
||||
bool verbatim_plan;
|
||||
bool display_runtime;
|
||||
bool display_duration;
|
||||
bool display_transitions;
|
||||
int bottomsac;
|
||||
int decosac;
|
||||
int o2consumption; // ml per min
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue