I have to idea of a dialog. It's really simple but I'm not skilled enough to understand how to make it.
2 Buttons.
1 button the toggles a boolean true/false on every press. But the dialog stays open.
1 button to confirm the choice and clsoe the dialog.
As I understand it, with each button press the dialog must be killed and reopened with the new boolean states. But how do you write this? Can someone show me please?
2 Buttons.
1 button the toggles a boolean true/false on every press. But the dialog stays open.
1 button to confirm the choice and clsoe the dialog.
As I understand it, with each button press the dialog must be killed and reopened with the new boolean states. But how do you write this? Can someone show me please?














