Skip to content

Commit

Permalink
Unsubscribe from closing event or window won't close even after the c…
Browse files Browse the repository at this point in the history
…onfig dialog was closed.
  • Loading branch information
dominikgolda committed Apr 16, 2019
1 parent 5e96cb7 commit f115eb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Soloplan.WhatsON.GUI/Config/View/ConfigWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ private void WindowClosing(object sender, System.ComponentModel.CancelEventArgs
return;
}

this.Owner.Closing -= this.OwnerClosing;
this.configurationViewModel.ApplyToSourceAndSave();
}

Expand Down

0 comments on commit f115eb8

Please sign in to comment.