Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Wrap renaming of notes through autotile in locking context #1047

Merged
merged 1 commit into from May 24, 2023

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented May 17, 2023

Otherwise setting the title of the note will fail when editing through the text editor if files_lock is enabled

@juliushaertl juliushaertl added the bug Something isn't working label May 17, 2023
@juliushaertl
Copy link
Member Author

Need to double check if setting a category also needs to be adapted, as I got a similar report for that one

Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks reasonable, didn't test

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl
Copy link
Member Author

Need to double check if setting a category also needs to be adapted, as I got a similar report for that one

Moved the wrapping logic to a helper function and covered the category updates as well, which would run into the lock as they move the file around.

@juliushaertl juliushaertl merged commit 391d84c into main May 24, 2023
9 checks passed
@juliushaertl juliushaertl deleted the bugfix/noid/lock branch May 24, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants