From 794cf3813aa1eb9534a2775004f46686fd3e1210 Mon Sep 17 00:00:00 2001 From: takase1121 <20792268+takase1121@users.noreply.github.com> Date: Sat, 5 Jun 2021 08:47:32 +0800 Subject: [PATCH] export context menu --- data/plugins/contextmenu.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/plugins/contextmenu.lua b/data/plugins/contextmenu.lua index e7a27e7d..19ed5859 100644 --- a/data/plugins/contextmenu.lua +++ b/data/plugins/contextmenu.lua @@ -14,6 +14,8 @@ local DIVIDER = {} local ContextMenu = Object:extend() +ContextMenu.DIVIDER = DIVIDER + function ContextMenu:new() self.itemset = {} self.show_context_menu = false @@ -283,3 +285,5 @@ if require("plugins.scale") then { text = "Replace Pattern", command = "find-replace:replace-pattern" }, }) end + +return menu