Skip to content

Commit

Permalink
open newly created file
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Nov 6, 2023
1 parent f9e62f8 commit 8b0b978
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ public async Task CreateFileDialogAsync(IProjectFolder parent)
if (!string.IsNullOrWhiteSpace(newFile))
{
parent.IsExpanded = true;
parent.AddFile(newFile, true);
var f = parent.AddFile(newFile, true);
await _dockService.OpenFileAsync(f);
}
}

Expand Down

0 comments on commit 8b0b978

Please sign in to comment.