GUI: store edit/followOrders/followPattern state
in config
This commit is contained in:
parent
1ba5ac6766
commit
4a33a3846a
2 changed files with 6 additions and 1 deletions
|
|
@ -3657,6 +3657,9 @@ bool FurnaceGUI::init() {
|
|||
fullScreen=e->getConfBool("fullScreen",false);
|
||||
#endif
|
||||
mobileUI=e->getConfBool("mobileUI",MOBILE_UI_DEFAULT);
|
||||
edit=e->getConfBool("edit",false);
|
||||
followOrders=e->getConfBool("followOrders",true);
|
||||
followPattern=e->getConfBool("followPattern",true);
|
||||
|
||||
syncSettings();
|
||||
|
||||
|
|
@ -3840,6 +3843,9 @@ bool FurnaceGUI::finish() {
|
|||
e->setConf("lockLayout",lockLayout);
|
||||
e->setConf("fullScreen",fullScreen);
|
||||
e->setConf("mobileUI",mobileUI);
|
||||
e->setConf("edit",edit);
|
||||
e->setConf("followOrders",followOrders);
|
||||
e->setConf("followPattern",followPattern);
|
||||
|
||||
for (int i=0; i<DIV_MAX_CHANS; i++) {
|
||||
delete oldPat[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue