Skip to content

Commit a489a07

Browse files
Fix sprite sheet editor crash from TwoWay binding on read-only TileName property
1 parent 8d94cf5 commit a489a07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TEdit/View/Popups/SpriteSheetEditorWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<StackPanel Margin="4,0,0,0">
128128

129129
<!-- Grid Settings -->
130-
<TextBox Text="{Binding TileName}" IsReadOnly="True" FontWeight="Bold" Margin="0,0,0,8"/>
130+
<TextBox Text="{Binding TileName, Mode=OneWay}" IsReadOnly="True" FontWeight="Bold" Margin="0,0,0,8"/>
131131

132132
<TextBlock Text="{x:Static p:Language.spriteeditor_grid_settings}" FontWeight="Bold" Margin="0,0,0,8"/>
133133

0 commit comments

Comments
 (0)