Skip to content

Commit 810320c

Browse files
committed
fix #12818 : Keyboard tooltip of item in toolStrip2 is not displayed after expanded and collapsed the toolStripDropDownbutton in toolStrip1, then tab to toolStrip2's item
fix #12819 : Keyboard tooltip of toolStripDropDownbutton in toolStrip1 is displayed after expanded and collapsed the toolStripDropDownbutton in toolStrip2
1 parent 5fc66aa commit 810320c

File tree

1 file changed

+1
-1
lines changed
  • src/System.Windows.Forms/src/System/Windows/Forms/Controls/ToolStrips

1 file changed

+1
-1
lines changed

src/System.Windows.Forms/src/System/Windows/Forms/Controls/ToolStrips/ToolStrip.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3286,7 +3286,7 @@ protected override void OnLostFocus(EventArgs e)
32863286
{
32873287
base.OnLostFocus(e);
32883288
ClearAllSelections();
3289-
ToolTip.Hide(this);
3289+
ToolTip.RemoveAll();
32903290
}
32913291

32923292
protected internal override void OnLeave(EventArgs e)

0 commit comments

Comments
 (0)