Fix crash on theme view switch

This commit is contained in:
1024jp 2014-12-31 18:18:31 +01:00
parent 97b57e8412
commit 90ca419831
2 changed files with 3 additions and 1 deletions

View File

@ -37,6 +37,7 @@ Change Log
- Fix an issue that incompatible character markup positions were wrong by CR/LF line endings.
- Fix “Retore Defaults” button enability on text key bindings edit sheet.
- Fix a possible crash on Japanese input.
- Fix an issue that application could crash after switching theme in preferences.
- Fix some missing localizations in simplified Chinese. (Thanks to Wei Wang!)
- Fix an issue that an alert message was not localized.
- And other trivial UI fixes and enhancements.

View File

@ -51,7 +51,7 @@
#pragma mark Superclass methods
// ------------------------------------------------------
/// init
/// initialize instance
- (instancetype)init
// ------------------------------------------------------
{
@ -64,6 +64,7 @@
- (void)dealloc
// ------------------------------------------------------
{
[[self popover] setDelegate:nil]; // avoid crash (2014-12-31)
[self endObservingTheme];
}