Skip to content

Commit

Permalink
Merge pull request #18744 from unoplatform/mergify/bp/release/stable/…
Browse files Browse the repository at this point in the history
…5.5/pr-18736

Disabled menu in VS - Remove to not be visible. (backport #18736)
  • Loading branch information
jeromelaban authored Nov 8, 2024
2 parents f4c32f5 + 5bef37f commit f40ad16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Uno.UI.RemoteControl.VS/Commands/UnoMenuCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ public void Dispose()

if (_unoMainMenuItem is not null)
{
_unoMainMenuItem.Enabled = false;
_unoMainMenuItem.Visible = false;
CommandService.RemoveCommand(_unoMainMenuItem);
}
}
}

0 comments on commit f40ad16

Please sign in to comment.