Open Gamesystem Editor after Gamesystem Creation
Some checks failed
E2E Testing / test (push) Failing after 1m26s
Some checks failed
E2E Testing / test (push) Failing after 1m26s
This commit is contained in:
parent
8411d69bce
commit
635da80bf2
@ -113,8 +113,11 @@ export class AppComponent implements OnInit{
|
||||
} else {
|
||||
parentGamesystemName = this.gamesystemOverview!.selectedGamesystemName;
|
||||
}
|
||||
this.gameModel!.createGamesystem("New Gamesystem", parentGamesystemName);
|
||||
this.gamesystemOverview!.refresh();
|
||||
const createdGamesystem = this.gameModel!.createGamesystem("New Gamesystem", parentGamesystemName);
|
||||
if(createdGamesystem != undefined) {
|
||||
this.gamesystemOverview!.refresh();
|
||||
this.editor?.openGameModelComponent(createdGamesystem!);
|
||||
}
|
||||
}
|
||||
|
||||
private getSelectedModelComponent(): ModelComponent | undefined {
|
||||
|
Loading…
Reference in New Issue
Block a user