diff --git a/src/app/editor/gamesystem-editor/state-editor/simple-state-editor/simple-state-editor.component.html b/src/app/editor/gamesystem-editor/state-editor/simple-state-editor/simple-state-editor.component.html index e2e6dc8..f723e19 100644 --- a/src/app/editor/gamesystem-editor/state-editor/simple-state-editor/simple-state-editor.component.html +++ b/src/app/editor/gamesystem-editor/state-editor/simple-state-editor/simple-state-editor.component.html @@ -4,7 +4,7 @@ {{state.stateLabel}} - + warningMissing State-Label Information @@ -17,7 +17,7 @@

{{element.stateDescription}}

Description - + @@ -32,7 +32,7 @@ done close - + diff --git a/src/app/editor/gamesystem-editor/state-editor/simple-state-editor/simple-state-editor.component.ts b/src/app/editor/gamesystem-editor/state-editor/simple-state-editor/simple-state-editor.component.ts index cbd80ee..76c5bef 100644 --- a/src/app/editor/gamesystem-editor/state-editor/simple-state-editor/simple-state-editor.component.ts +++ b/src/app/editor/gamesystem-editor/state-editor/simple-state-editor/simple-state-editor.component.ts @@ -76,7 +76,11 @@ export class SimpleStateEditorComponent implements OnInit{ this.dataSource.data = this.gamesystem.states; this.editedElement = simpleState; this.expandedElement = simpleState; + this.onStateChange(); } } } + onStateChange() { + this.gamesystem!.onModifyContent(); + } }