Skip to content

Commit 3716377

Browse files
committed
Fixed ControlsSample : treeview, listview, listbox issue when allow edit label #30
1 parent 9bce03c commit 3716377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Alternet.UI/Handlers/Native/NativeListViewHandler.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ private void NativeControl_AfterItemLabelEdit(
8282

8383
if (!e.Data.editCancelled && !ea.Cancel)
8484
{
85-
skipSetItemText = true;
85+
// skipSetItemText = true;
8686
Control.Items[e.Data.itemIndex].Text = e.Data.label;
87-
skipSetItemText = false;
87+
// skipSetItemText = false;
8888
}
8989

9090
e.Result = ea.Cancel ? (IntPtr)1 : IntPtr.Zero;

0 commit comments

Comments
 (0)