From 5ae82537a714440c1cff81d41ff2d6168dc1704e Mon Sep 17 00:00:00 2001 From: Deyan Nenov Date: Wed, 19 Apr 2023 18:18:01 +0100 Subject: [PATCH] Update InPortContextMenu.xaml - fixed the condition in which the Edit Port Properties will be visible for all Nodes --- src/DynamoCoreWpf/Controls/InPortContextMenu.xaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DynamoCoreWpf/Controls/InPortContextMenu.xaml b/src/DynamoCoreWpf/Controls/InPortContextMenu.xaml index 155c90a7f67..25af62e9991 100644 --- a/src/DynamoCoreWpf/Controls/InPortContextMenu.xaml +++ b/src/DynamoCoreWpf/Controls/InPortContextMenu.xaml @@ -128,8 +128,8 @@ HorizontalAlignment="Left" Command="{Binding Path=EditPortPropertiesCommand}" Content="{x:Static p:Resources.RenamePortPopupMenuItem}" - IsEnabled="{Binding RenameNodeButtonEnabled, UpdateSourceTrigger=PropertyChanged}" - Visibility="{Binding RenameNodeButtonEnabled, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource BooleanToVisibilityCollapsedConverter}}" + IsEnabled="{Binding IsPythonNodePort, UpdateSourceTrigger=PropertyChanged}" + Visibility="{Binding IsPythonNodePort, Converter={StaticResource BooleanToVisibilityCollapsedConverter}}" Style="{StaticResource PopupButtonStyle}" />