diff options
author | Jeffrey Stedfast <jestedfa@microsoft.com> | 2019-12-02 23:40:13 +0300 |
---|---|---|
committer | Jeffrey Stedfast <jestedfa@microsoft.com> | 2019-12-02 23:40:13 +0300 |
commit | edb25b7f2e189dccfbb0c01af0d57f300b63e508 (patch) | |
tree | 639bc0dea07d1368ca9ca4b43785401c8d228ebe /main/src/addins/MonoDevelop.HexEditor | |
parent | 67d71a92f32cef380c07bdbf47df32812e4b692d (diff) |
[Debugger] Fixed HexEditor visualizer to not grab focus in weird ways
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1027825/
Diffstat (limited to 'main/src/addins/MonoDevelop.HexEditor')
-rw-r--r-- | main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorView.cs | 2 | ||||
-rw-r--r-- | main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorVisualizer.cs | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorView.cs b/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorView.cs index 0d9e6c2395..f5f29f6b08 100644 --- a/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorView.cs +++ b/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorView.cs @@ -65,8 +65,6 @@ namespace MonoDevelop.HexEditor window = new ScrollView (hexEditor); await LoadContent (); - hexEditor.SetFocus (); - return new XwtControl (window); } diff --git a/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorVisualizer.cs b/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorVisualizer.cs index 40c0f444db..74087bbc2a 100644 --- a/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorVisualizer.cs +++ b/main/src/addins/MonoDevelop.HexEditor/MonoDevelop.HexEditor/HexEditorVisualizer.cs @@ -135,7 +135,6 @@ namespace MonoDevelop.HexEditor var xwtScrollView = new Xwt.ScrollView (hexEditor); var scrollWidget = (Widget) Xwt.Toolkit.CurrentEngine.GetNativeWidget (xwtScrollView); SetHexEditorOptions (); - hexEditor.SetFocus (); return scrollWidget; } |