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

Commit 7ac0fcd

Browse files
netonjmmonojenkins
authored andcommitted
Adds missing renames on save
1 parent 0124b7b commit 7ac0fcd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ public bool UnlockAll ()
935935
toolbar.SetEnabled (true);
936936
}
937937

938-
if (IsGuiLocked)
938+
if (IsLocked)
939939
guiLock--;
940940
return guiLock == 0;
941941
}
@@ -1594,7 +1594,7 @@ internal bool DispatchCommand (object commandId, object dataItem, object initial
15941594

15951595
RegisterUserInteraction ();
15961596

1597-
if (IsGuiLocked)
1597+
if (IsLocked)
15981598
return false;
15991599

16001600
#if MAC
@@ -1844,7 +1844,7 @@ public CommandInfo GetCommandInfo (object commandId, CommandTargetRoute targetRo
18441844
if (IsEnabled)
18451845
cui.Run (cmdTarget, info.ArrayInfo);
18461846
if (!info.ArrayInfo.Bypass) {
1847-
if (info.DisableOnShellLock && IsGuiLocked)
1847+
if (info.DisableOnShellLock && IsLocked)
18481848
info.Enabled = false;
18491849
handlerFound = true;
18501850
}
@@ -1854,7 +1854,7 @@ public CommandInfo GetCommandInfo (object commandId, CommandTargetRoute targetRo
18541854
if (IsEnabled)
18551855
cui.Run (cmdTarget, info);
18561856
if (!info.Bypass) {
1857-
if (info.DisableOnShellLock && IsGuiLocked)
1857+
if (info.DisableOnShellLock && IsLocked)
18581858
info.Enabled = false;
18591859
handlerFound = true;
18601860
}
@@ -1906,7 +1906,7 @@ public CommandInfo GetCommandInfo (object commandId, CommandTargetRoute targetRo
19061906
CurrentCommand = null;
19071907
}
19081908

1909-
if (info.DisableOnShellLock && IsGuiLocked)
1909+
if (info.DisableOnShellLock && IsLocked)
19101910
info.Enabled = false;
19111911
return info;
19121912
}

0 commit comments

Comments
 (0)