We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1670347 commit 1a05ddaCopy full SHA for 1a05dda
src/components/sidebar/PathSelector.tsx
@@ -94,8 +94,8 @@ class PathSelectorOption extends Component<OptionProps, OptionState> {
94
let selected =
95
this.props.uuid == this.context.model.document.pathlist.activePathUUID;
96
let name = this.getPath().name;
97
- if (name != this.state.name) {
98
- this.setState({ name });
+ if (name != this.state.name && !this.state.renaming) {
+ this.state.name = name;
99
}
100
return (
101
<span
0 commit comments