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 various inline editing bugs in the playlist view #266

Merged
merged 3 commits into from
Dec 4, 2019

Conversation

reupen
Copy link
Owner

@reupen reupen commented Dec 3, 2019

This fixes various problems with inline metadata editing in the playlist view:

  • a crash when setting a field to an empty string
  • a crash when saving changes after editing multiple files that had initially differing values
  • the unwanted saving of empty values to files (rather than omitting them or removing the field completely)

The behaviour is also changed slightly when encountering files with no loaded metadata – it will always let you attempt to update the file (though this will may well fail).

This fixes a crash when using inline editing and setting a field value to an empty string.
This changes the behaviour of inline editing in the playlist view so that empty field values are not added to files when saving changes.
@reupen reupen force-pushed the fix-inline-editing-empty-string branch from 4d4bf64 to 28f6d41 Compare December 3, 2019 21:13
@reupen reupen marked this pull request as ready for review December 3, 2019 21:13
This fixes a crash when saving changes after using inline editing in the playlist view on more than two files with differing field values.

A side effect of the fix is that inline editing is no longer sometimes blocked if a file with no loaded metadata is encountered; this will instead (probably) fail at saving time.
@reupen reupen force-pushed the fix-inline-editing-empty-string branch from 28f6d41 to 65c853c Compare December 3, 2019 22:04
@reupen reupen merged commit e8bb91f into master Dec 4, 2019
@reupen reupen deleted the fix-inline-editing-empty-string branch December 4, 2019 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant