[ExpansionPanel] Possibility to disable the toggle button
This commit is contained in:
+1
-3
@@ -72,9 +72,7 @@ class ExpansionPanel: public FormGroup
|
|||||||
|
|
||||||
void setCloseAllowed(bool value = true)
|
void setCloseAllowed(bool value = true)
|
||||||
{
|
{
|
||||||
if (value) {
|
header->enable(value);
|
||||||
header->disable();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void enable(bool value = true)
|
void enable(bool value = true)
|
||||||
|
|||||||
Reference in New Issue
Block a user