Skip to content

Commit b7c1230

Browse files
dnenovreddyashish
authored andcommitted
Update InPortContextMenu.xaml (DynamoDS#13915)
- fixed the condition in which the Edit Port Properties will be visible for all Nodes (cherry picked from commit 36f1531)
1 parent c88b3bd commit b7c1230

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DynamoCoreWpf/Controls/InPortContextMenu.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@
128128
HorizontalAlignment="Left"
129129
Command="{Binding Path=EditPortPropertiesCommand}"
130130
Content="{x:Static p:Resources.RenamePortPopupMenuItem}"
131-
IsEnabled="{Binding RenameNodeButtonEnabled, UpdateSourceTrigger=PropertyChanged}"
132-
Visibility="{Binding RenameNodeButtonEnabled, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource BooleanToVisibilityCollapsedConverter}}"
131+
IsEnabled="{Binding IsPythonNodePort, UpdateSourceTrigger=PropertyChanged}"
132+
Visibility="{Binding IsPythonNodePort, Converter={StaticResource BooleanToVisibilityCollapsedConverter}}"
133133
Style="{StaticResource PopupButtonStyle}" />
134134

135135
</StackPanel>

0 commit comments

Comments
 (0)