Browse Source

commiting -> committing

pull/1751/head
Jane Doe 6 years ago
parent
commit
2b019a922a
  1. 8
      SharpTreeView/EditTextBox.cs

8
SharpTreeView/EditTextBox.cs

@ -49,12 +49,12 @@ namespace ICSharpCode.TreeView
} }
} }
bool commiting; bool committing;
void Commit() void Commit()
{ {
if (!commiting) { if (!committing) {
commiting = true; committing = true;
Node.IsEditing = false; Node.IsEditing = false;
if (!Node.SaveEditText(Text)) { if (!Node.SaveEditText(Text)) {
@ -70,7 +70,7 @@ namespace ICSharpCode.TreeView
// Init(); // Init();
//} //}
commiting = false; committing = false;
} }
} }
} }

Loading…
Cancel
Save