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:
authorLluis Sanchez <llsan@microsoft.com>2017-07-18 20:36:17 +0300
committerMarius Ungureanu <teromario@yahoo.com>2017-07-18 22:18:07 +0300
commit4916c56a5a40dab92cfefa2b8a56ec1835dcd0a8 (patch)
treed6dca9700e8746240bbb0556fad59dee1ec5f7d1 /main/src/core/MonoDevelop.Ide
parenteeb12987726572f4b75e082e55182067f5986ea3 (diff)
Fix bug #57475 - Editor window disappaers when double switching to two column mode
Diffstat (limited to 'main/src/core/MonoDevelop.Ide')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs
index 3fae99b2eb..7a1eca14b3 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs
@@ -336,6 +336,10 @@ namespace MonoDevelop.Ide.Commands
protected override void Run ()
{
+ // Already in 2-column mode?
+ if (DockNotebook.ActiveNotebook?.Container?.SplitCount > 0)
+ return;
+
IdeApp.Workbench.LockActiveWindowChangeEvent ();
var container = DockNotebook.ActiveNotebook.Container;
var tab = DockNotebook.ActiveNotebook.CurrentTab;