GUI: store edit/followOrders/followPattern state
in config
This commit is contained in:
parent
1ba5ac6766
commit
4a33a3846a
1
TODO.md
1
TODO.md
|
@ -16,7 +16,6 @@
|
||||||
- try to find out why does VSlider not accept keyboard input
|
- try to find out why does VSlider not accept keyboard input
|
||||||
- finish lock layout
|
- finish lock layout
|
||||||
- if macros have release, note off should release them
|
- if macros have release, note off should release them
|
||||||
- store edit/followOrders/followPattern state in config
|
|
||||||
- add ability to select a column by double clicking
|
- add ability to select a column by double clicking
|
||||||
- add ability to move selection by dragging
|
- add ability to move selection by dragging
|
||||||
- Apply button in settings
|
- Apply button in settings
|
||||||
|
|
|
@ -3657,6 +3657,9 @@ bool FurnaceGUI::init() {
|
||||||
fullScreen=e->getConfBool("fullScreen",false);
|
fullScreen=e->getConfBool("fullScreen",false);
|
||||||
#endif
|
#endif
|
||||||
mobileUI=e->getConfBool("mobileUI",MOBILE_UI_DEFAULT);
|
mobileUI=e->getConfBool("mobileUI",MOBILE_UI_DEFAULT);
|
||||||
|
edit=e->getConfBool("edit",false);
|
||||||
|
followOrders=e->getConfBool("followOrders",true);
|
||||||
|
followPattern=e->getConfBool("followPattern",true);
|
||||||
|
|
||||||
syncSettings();
|
syncSettings();
|
||||||
|
|
||||||
|
@ -3840,6 +3843,9 @@ bool FurnaceGUI::finish() {
|
||||||
e->setConf("lockLayout",lockLayout);
|
e->setConf("lockLayout",lockLayout);
|
||||||
e->setConf("fullScreen",fullScreen);
|
e->setConf("fullScreen",fullScreen);
|
||||||
e->setConf("mobileUI",mobileUI);
|
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++) {
|
for (int i=0; i<DIV_MAX_CHANS; i++) {
|
||||||
delete oldPat[i];
|
delete oldPat[i];
|
||||||
|
|
Loading…
Reference in a new issue