Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit 737c2fb

Browse files
committed
[Ide] Remove key press filter that breaks focus chain
Partially fixes VSTS #750236
1 parent c84f363 commit 737c2fb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/SelectReferenceDialog.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ public SelectReferenceDialog ()
256256

257257
void InsertFilterEntry ()
258258
{
259-
filterEntry.KeyPressEvent += HandleFilterEntryKeyPressEvent;
260259
filterEntry.Activated += HandleFilterEntryActivated;
261260
filterEntry.Changed += delegate {
262261
foreach (var p in panels)
@@ -270,15 +269,6 @@ void HandleFilterEntryActivated (object sender, EventArgs e)
270269
mainBook.ChildFocus (DirectionType.TabForward);
271270
}
272271

273-
void HandleFilterEntryKeyPressEvent (object o, KeyPressEventArgs args)
274-
{
275-
if (args.Event.Key == Gdk.Key.Tab) {
276-
mainBook.HasFocus = true;
277-
mainBook.ChildFocus (DirectionType.TabForward);
278-
args.RetVal = true;
279-
}
280-
}
281-
282272
protected override void OnShown ()
283273
{
284274
base.OnShown ();

0 commit comments

Comments
 (0)