Skip to content

Commit

Permalink
(GH-3265) Fix MetroDialogSettings is not settable within a style
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Sep 6, 2018
1 parent 0024f32 commit 1366db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MahApps.Metro/Controls/MetroWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ static MetroWindow()
/// </summary>
public MetroWindow()
{
this.MetroDialogOptions = new MetroDialogSettings();
this.SetCurrentValue(MetroDialogOptionsProperty, new MetroDialogSettings());

DataContextChanged += MetroWindow_DataContextChanged;
Loaded += this.MetroWindow_Loaded;
Expand Down

0 comments on commit 1366db7

Please sign in to comment.