diff --git a/common/lib/src/editors/ensemble.dart b/common/lib/src/editors/ensemble.dart index d70e25e..5222d63 100644 --- a/common/lib/src/editors/ensemble.dart +++ b/common/lib/src/editors/ensemble.dart @@ -26,6 +26,7 @@ class _EnsembleEditorState extends State { if (widget.ensemble != null) { nameController.text = widget.ensemble.name; + _sync = widget.ensemble.sync; } } diff --git a/common/lib/src/editors/instrument.dart b/common/lib/src/editors/instrument.dart index 22fc09c..ab939e1 100644 --- a/common/lib/src/editors/instrument.dart +++ b/common/lib/src/editors/instrument.dart @@ -26,6 +26,7 @@ class _InstrumentEditorState extends State { if (widget.instrument != null) { nameController.text = widget.instrument.name; + _sync = widget.instrument.sync; } } diff --git a/common/lib/src/editors/person.dart b/common/lib/src/editors/person.dart index 6b0c4cd..89bc558 100644 --- a/common/lib/src/editors/person.dart +++ b/common/lib/src/editors/person.dart @@ -28,6 +28,7 @@ class _PersonEditorState extends State { if (widget.person != null) { firstNameController.text = widget.person.firstName; lastNameController.text = widget.person.lastName; + _sync = widget.person.sync; } } diff --git a/common/lib/src/editors/recording.dart b/common/lib/src/editors/recording.dart index f1ef806..f72b458 100644 --- a/common/lib/src/editors/recording.dart +++ b/common/lib/src/editors/recording.dart @@ -52,6 +52,7 @@ class _RecordingEditorState extends State { setState(() { this._workInfo = _workInfo; this._performanceInfos = _performanceInfos; + _sync = widget.recordingInfo.recording.sync; }); } diff --git a/common/lib/src/editors/work.dart b/common/lib/src/editors/work.dart index a121462..082821c 100644 --- a/common/lib/src/editors/work.dart +++ b/common/lib/src/editors/work.dart @@ -201,6 +201,8 @@ class _WorkEditorState extends State { instruments: List.from(partInfo.instruments), )); } + + _sync = widget.workInfo.work.sync; } }