FIX: composer TOC button has inverted logic

This changed recently in core.
This commit is contained in:
Joe 2019-04-12 16:29:32 +08:00 committed by GitHub
parent 2a7e35896c
commit ae6db1d997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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", {