Skip to content

Commit adb83fd

Browse files
committed
Minor fix
1 parent 4b6fc5c commit adb83fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dev/impl/DevToys/UI/Controls/CodeEditor.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public static readonly DependencyProperty CanCopyWhenNotReadOnlyProperty
9090
nameof(CanCopyWhenNotReadOnly),
9191
typeof(bool),
9292
typeof(CodeEditor),
93-
new PropertyMetadata(false, OnIsReadOnlyPropertyChangedCalled));
93+
new PropertyMetadata(false, (d, e) => { ((CodeEditor)d).UpdateUI(); }));
9494

9595
public bool CanCopyWhenNotReadOnly
9696
{

0 commit comments

Comments
 (0)