summaryrefslogtreecommitdiff
path: root/xmake/core/platform/menu.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-01-31 22:43:34 +0800
committerruki <[email protected]>2018-01-31 10:21:26 +0800
commit91b7ce3946a91022ddca0a3822346d81a2f1f74f (patch)
treeb19d5b54398f7eab928026c32485b1413c6eacb5 /xmake/core/platform/menu.lua
parentb3e5b85cc8c74d934eaa437f00523284b773d4cc (diff)
add platform menu category
Diffstat (limited to 'xmake/core/platform/menu.lua')
-rw-r--r--xmake/core/platform/menu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/platform/menu.lua b/xmake/core/platform/menu.lua
index 9bd7aeef3..8231117e8 100644
--- a/xmake/core/platform/menu.lua
+++ b/xmake/core/platform/menu.lua
@@ -73,7 +73,7 @@ function menu.options(action)
exist[name] = true
newline = false
end
- elseif not newline then
+ elseif option.category or not newline then
table.insert(results, option)
newline = true
end