miniSql

vs2019汉化99%
zgc123@gmail.com authored at 11/28/2023 4:10:34 PM zgc123@gmail.com committed at 11/28/2023 4:10:51 PM
0ced910
Tree
1 Parent(s) 93a03c2
Summary: 1 changed files with 2 additions and 2 deletions.
Modified +2 -2
Modified +2 -2
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs
index 7ccddb2..81c02e9 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/SearchTools/SearchToolsLoader.cs
@@ -27,8 +27,8 @@ namespace MiniSqlQuery.PlugIns.SearchTools
         public override void InitializePlugIn()
         {
             Services.RegisterComponent<GoToLineForm>("GoToLineForm");
-
-            ToolStripMenuItem editMenu = Services.HostWindow.GetMenuItem("edit");
+            //zhenggc 2023-11-28 modify GetMenuItem("edit") GetMenuItem("editmenu")
+            ToolStripMenuItem editMenu = Services.HostWindow.GetMenuItem("editmenu");
 
             // add the find to the plugins menu
             editMenu.DropDownItems.Add(CommandControlBuilder.CreateToolStripMenuItem<ShowFindTextFormCommand>());