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/DatabaseInspector/DatabaseInspectorLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
index e29018e..b4f1758 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/DatabaseInspector/DatabaseInspectorLoader.cs
@@ -32,8 +32,8 @@ namespace MiniSqlQuery.PlugIns.DatabaseInspector
             IHostWindow hostWindow = Services.HostWindow;
             hostWindow.AddPluginCommand<ShowDatabaseInspectorCommand>();
             CommandManager.GetCommandInstance<ShowDatabaseInspectorCommand>().Execute();
-
-            ToolStripMenuItem editMenu = hostWindow.GetMenuItem("edit");
+            //zhenggc 2023-11-28 modify .GetMenuItem("edit")  GetMenuItem("editmenu")
+            ToolStripMenuItem editMenu = hostWindow.GetMenuItem("editmenu");
             editMenu.DropDownItems.Add(CommandControlBuilder.CreateToolStripMenuItem<ShowFindObjectFormCommand>());
 
             hostWindow.DatabaseInspector.TableMenu.Items.Add(CommandControlBuilder.CreateToolStripMenuItem<GenerateSelectStatementCommand>());