mirror of https://github.com/quasar/Quasar.git
Fixed a problem with editing not being disabled in after edit
This commit is contained in:
parent
194fe17ee3
commit
4c252e13da
|
@ -452,6 +452,10 @@ private void tvRegistryDirectory_AfterLabelEdit(object sender, NodeLabelEditEven
|
|||
e.Node.BeginEdit();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
tvRegistryDirectory.LabelEdit = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void tvRegistryDirectory_BeforeExpand(object sender, TreeViewCancelEventArgs e)
|
||||
|
@ -596,7 +600,7 @@ private void lstRegistryKeys_AfterLabelEdit(object sender, LabelEditEventArgs e)
|
|||
//Normal rename action
|
||||
//Perform Rename action
|
||||
new xServer.Core.Packets.ServerPackets.DoRenameRegistryValue(tvRegistryDirectory.SelectedNode.FullPath, lstRegistryKeys.Items[index].Name, e.Label).Execute(_connectClient);
|
||||
|
||||
|
||||
lstRegistryKeys.LabelEdit = false;
|
||||
}
|
||||
else
|
||||
|
@ -607,6 +611,10 @@ private void lstRegistryKeys_AfterLabelEdit(object sender, LabelEditEventArgs e)
|
|||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lstRegistryKeys.LabelEdit = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void lstRegistryKeys_ItemSelectionChanged(object sender, ListViewItemSelectionChangedEventArgs e)
|
||||
|
|
Loading…
Reference in New Issue