FIX: composer TOC button has inverted logic
This changed recently in core.
This commit is contained in:
parent
2a7e35896c
commit
ae6db1d997
|
@ -328,7 +328,7 @@ api.addToolbarPopupMenuOptionsCallback(() => {
|
|||
action: "insertDtoc",
|
||||
icon: "align-left",
|
||||
label: themePrefix("insert_table_of_contents"),
|
||||
condition: !composerController.get("model.canCategorize")
|
||||
condition: composerController.get("model.canCategorize")
|
||||
};
|
||||
});
|
||||
api.modifyClass("controller:composer", {
|
||||
|
|
Loading…
Reference in New Issue