Skip to content

Commit 2b6cdb5

Browse files
committed
Can't actually display the startup error until the dialog host is loaded, so need to push this call down a level
1 parent ed6757e commit 2b6cdb5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

LiveWriterPluginManager/MainWindow.xaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
FontFamily="pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto"
2323
DataContext="{Binding Main, Source={StaticResource Locator}}"
2424
Icon="Icon.ico">
25-
<i:Interaction.Triggers>
26-
<i:EventTrigger EventName="Loaded">
27-
<command:EventToCommand Command="{Binding LoadedCommand}" />
28-
</i:EventTrigger>
29-
</i:Interaction.Triggers>
3025
<materialDesign:DialogHost>
26+
<i:Interaction.Triggers>
27+
<i:EventTrigger EventName="Loaded">
28+
<command:EventToCommand Command="{Binding LoadedCommand}" />
29+
</i:EventTrigger>
30+
</i:Interaction.Triggers>
3131
<Grid>
3232
<dragablz:TabablzControl TextElement.Foreground="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Window}, Path=(TextElement.Foreground)}"
3333
Background="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Window}, Path=Background}">

0 commit comments

Comments
 (0)