mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 18:57:25 +01:00
Work editor: Fix check for existing composer
This commit is contained in:
parent
84cdd51c52
commit
4994f6395f
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ class _WorkEditorState extends State<WorkEditor> {
|
||||||
await backend.db.personById(widget.work.composer).getSingle();
|
await backend.db.personById(widget.work.composer).getSingle();
|
||||||
|
|
||||||
// We don't want to override a newly selected composer.
|
// We don't want to override a newly selected composer.
|
||||||
if (composer != null) {
|
if (composer == null) {
|
||||||
setState(() {
|
setState(() {
|
||||||
composer = person;
|
composer = person;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue