diff options
author | David Karlaš <david.karlas@xamarin.com> | 2015-04-07 23:57:24 +0300 |
---|---|---|
committer | David Karlaš <david.karlas@xamarin.com> | 2015-04-07 23:57:34 +0300 |
commit | 1c3ef784bd3fada25f7411d1da270dee886df303 (patch) | |
tree | 7358d5fb584347fcc05d5c119d4d42b81f99d1ce /main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers | |
parent | 46982eadc49d47322b36006ce7a283aa511cba03 (diff) |
[Debugger] Bug 28835 - Unable to close exception value visualiser window in 'Exception caught' window on click of close(x) button.
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/PreviewVisualizerWindow.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/PreviewVisualizerWindow.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/PreviewVisualizerWindow.cs index be2a768d5d..a3bd79b733 100644 --- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/PreviewVisualizerWindow.cs +++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/PreviewVisualizerWindow.cs @@ -40,6 +40,8 @@ namespace MonoDevelop.Debugger { this.TypeHint = WindowTypeHint.PopupMenu; this.Decorated = false; + if (((Gtk.Window)invokingWidget.Toplevel).Modal) + this.Modal = true; TransientFor = (Gtk.Window) invokingWidget.Toplevel; Theme.SetFlatColor (new Cairo.Color (245 / 256.0, 245 / 256.0, 245 / 256.0)); |