Feature #1192 » 0046-Ruledit-tab_enabler-delete_now-Remove-enabler-comple.patch
tools/ruledit/tab_enablers.cpp | ||
---|---|---|
void tab_enabler::delete_now()
|
||
{
|
||
if (selected != nullptr) {
|
||
selected->rulesave.ruledit_disabled = true;
|
||
action_enabler_remove(selected);
|
||
action_enabler_free(selected);
|
||
refresh();
|
||
update_enabler_info(nullptr);
|