Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVsevolod Kukol <sevoku@xamarin.com>2016-05-23 15:13:46 +0300
committerVsevolod Kukol <sevoku@xamarin.com>2016-05-23 15:13:46 +0300
commit3d429dc136049b292ec531922d12554162806ce7 (patch)
treec5a945623d384bca1e90cf76334c1da077a5c3a2 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands
parent09e9871fdac14cae9e86a2f8c264206c7f5589c5 (diff)
parentf019727ae2405f91cf399aa7e960eb1b102fce78 (diff)
Merge remote-tracking branch 'origin/master' into main-menu-redesign
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs
index 103f572e76..22211b010e 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs
@@ -376,6 +376,7 @@ namespace MonoDevelop.Ide.Commands
{
object focus = IdeApp.Workbench.RootWindow.HasToplevelFocus ? IdeApp.Workbench.RootWindow.Focus : null;
info.Enabled = (focus is Gtk.Editable || focus is Gtk.TextView);
+ info.Bypass = !IdeApp.Workbench.RootWindow.HasToplevelFocus;
#if MAC
var macfocus = AppKit.NSApplication.SharedApplication?.KeyWindow?.FirstResponder;