mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-28 00:38:00 +01:00
This commit is contained in:
@@ -414,7 +414,7 @@ public class TreeViewFileSystem : Scenario
|
||||
|
||||
private void ShowContextMenu (Point screenPoint, IFileSystemInfo forObject)
|
||||
{
|
||||
PopoverMenu? contextMenu = new ([new ("Properties", $"Show {forObject.Name} properties", () => ShowPropertiesOf (forObject))]);
|
||||
PopoverMenu contextMenu = new ([new ("Properties", $"Show {forObject.Name} properties", () => ShowPropertiesOf (forObject))]);
|
||||
|
||||
// Registering with the PopoverManager will ensure that the context menu is closed when the view is no longer focused
|
||||
// and the context menu is disposed when it is closed.
|
||||
|
||||
Reference in New Issue
Block a user