[ExpansionPanel] Possibility to disable the toggle button

This commit is contained in:
Bertrand Songis
2021-01-08 10:35:51 +01:00
parent d22d95fe9a
commit 407656b065
+1 -3
View File
@@ -72,9 +72,7 @@ class ExpansionPanel: public FormGroup
void setCloseAllowed(bool value = true)
{
if (value) {
header->disable();
}
header->enable(value);
}
void enable(bool value = true)