Skip to content

Commit

Permalink
fix window dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Jan 27, 2025
1 parent 6ec9c43 commit c81a453
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/OneWare.Core/Services/WindowService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ public async Task ShowDialogAsync(FlexibleWindow window, Window? owner)
owner ??= ContainerLocator.Container.Resolve<MainWindow>();
await window.ShowDialogAsync(owner);
}

await ContainerLocator.Container.Resolve<MainView>().ShowVirtualDialogAsync(window);
else await ContainerLocator.Container.Resolve<MainView>().ShowVirtualDialogAsync(window);

window.Focus();
}
Expand Down
3 changes: 1 addition & 2 deletions src/OneWare.Vcd.Viewer/OneWare.Vcd.Viewer.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\build\props\Base.props"/>
<Import Project="..\..\build\props\OneWare.Module.props"/>



<ItemGroup>
<ProjectReference Include="..\OneWare.Essentials\OneWare.Essentials.csproj"/>
<ProjectReference Include="..\OneWare.Vcd.Parser\OneWare.Vcd.Parser.csproj"/>
Expand Down
3 changes: 1 addition & 2 deletions src/OneWare.WaveFormViewer/OneWare.WaveFormViewer.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\build\props\Base.props"/>
<Import Project="..\..\build\props\OneWare.Module.props"/>



<ItemGroup>
<ProjectReference Include="..\OneWare.Essentials\OneWare.Essentials.csproj"/>
<ProjectReference Include="..\OneWare.Vcd.Parser\OneWare.Vcd.Parser.csproj"/>
Expand Down

0 comments on commit c81a453

Please sign in to comment.