35 lines
1009 B
Diff
35 lines
1009 B
Diff
From 28c431b9323e2201498738fdffaa9a6d1fd562fd Mon Sep 17 00:00:00 2001
|
|
From: tangjie02 <tangjie02@kylinsec.com.cn>
|
|
Date: Wed, 27 Jul 2022 19:38:42 +0800
|
|
Subject: [PATCH 1/2] fix(menu): Fix the problem that some apps are show
|
|
repeatly in start menu.
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
- 修复app在开始菜单中重复显示问题
|
|
|
|
Closes #I5HT8G
|
|
|
|
Signed-off-by: tangjie02 <tangjie02@kylinsec.com.cn>
|
|
---
|
|
lib/category.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/category.cpp b/lib/category.cpp
|
|
index 10cba91..7d7a9b6 100644
|
|
--- a/lib/category.cpp
|
|
+++ b/lib/category.cpp
|
|
@@ -18,7 +18,7 @@
|
|
|
|
namespace Kiran
|
|
{
|
|
-Category::Category(std::shared_ptr<CategoryNode> node) : repeat_(true),
|
|
+Category::Category(std::shared_ptr<CategoryNode> node) : repeat_(false),
|
|
node_(node)
|
|
{
|
|
if (node->get_type() != CategoryNodeType::CATEGORY_NODE_TYPE_CATEGORY)
|
|
--
|
|
2.33.0
|
|
|