Skip to content

Modify a checkbox after clicking SAVE #17

@acca84

Description

@acca84

Hello, first, thanks for your great work !

I'd like to launch a command if a checkbox is checked and the SAVE button clicked, after that, i'd like the check box to be unchecked, what i do is :
in handleroot() :
if (conf.values[5].toInt()==1){ launchcommand(); conf.setValue("MAJEF","0"); }

my check box is filed number 5, with name MAJEC

it unchecks the checkbox, but it it not save after reboot.

Is that possible to do that please ?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions