diff options
author | rowanbeentje <rowan@beent.je> | 2011-08-25 23:03:00 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-08-25 23:03:00 +0000 |
commit | 4f35896057fdc7b6e16c55cf4805177c00967f18 (patch) | |
tree | 78f5f1d515d38361f24501493b3991e14f92acab /Source/SPTableStructure.m | |
parent | bd96d373385c8d2aff108269c1e89063cd48e416 (diff) | |
download | sequelpro-4f35896057fdc7b6e16c55cf4805177c00967f18.tar.gz sequelpro-4f35896057fdc7b6e16c55cf4805177c00967f18.tar.bz2 sequelpro-4f35896057fdc7b6e16c55cf4805177c00967f18.zip |
- Prevent export and indexes controller awakeFromNib: routines from being run multiple times
- Fix crashes and exceptions when using "Use monospaced fonts" or "Display vertical grid lines" preferences after closing at least one window
Diffstat (limited to 'Source/SPTableStructure.m')
-rw-r--r-- | Source/SPTableStructure.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPTableStructure.m b/Source/SPTableStructure.m index 0f5222a0..5e308067 100644 --- a/Source/SPTableStructure.m +++ b/Source/SPTableStructure.m @@ -1703,6 +1703,9 @@ - (void)dealloc { [[NSNotificationCenter defaultCenter] removeObserver:self]; +#ifndef SP_REFACTOR + [prefs removeObserver:indexesController forKeyPath:SPUseMonospacedFonts]; +#endif [tableFields release]; [oldRow release]; |