Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
changeset 152:4b96e6a6c999
Fixes #275: error in language switching
* Unsubscribe the event listener on dispose
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 14 May 2010 19:46:29 +0000 |
parents | 540c8aa6e565 |
children | fcd90498d9a2 |
files | FrmPreferences.Designer.cs |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/FrmPreferences.Designer.cs Thu May 06 20:05:43 2010 +0000 +++ b/FrmPreferences.Designer.cs Fri May 14 19:46:29 2010 +0000 @@ -1,3 +1,5 @@ +using IBBoard.Lang; + namespace IBBoard.WarFoundry.GUI.WinForms { partial class FrmPreferences @@ -18,6 +20,8 @@ components.Dispose(); } base.Dispose(disposing); + + Translation.TranslationChanged -= new MethodInvoker(TranslateForm); } #region Windows Form Designer generated code