From 98ab69a35af28d75fb1e8e691074524c70d398d1 Mon Sep 17 00:00:00 2001 From: RKrom Date: Mon, 7 Jul 2014 09:02:52 +0200 Subject: [PATCH] Fix BUG-1653, chicken / egg problem: the DropDownOpening is not called when there are no children but they are only generated when the DropDownOpening is called. Initially adding something helps. --- Greenshot/Forms/ImageEditorForm.Designer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Greenshot/Forms/ImageEditorForm.Designer.cs b/Greenshot/Forms/ImageEditorForm.Designer.cs index a620127c7..c63fe0db0 100644 --- a/Greenshot/Forms/ImageEditorForm.Designer.cs +++ b/Greenshot/Forms/ImageEditorForm.Designer.cs @@ -569,6 +569,8 @@ namespace Greenshot { this.fileStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileStripMenuItem.Text = "File"; this.fileStripMenuItem.DropDownOpening += new System.EventHandler(this.FileMenuDropDownOpening); + // Fix for BUG-1653, the DropDownOpening is not called when there are no children. + this.fileStripMenuItem.DropDownItems.Add(toolStripSeparator9); // // editToolStripMenuItem //