From 9d5aa655c43de33b8617f8fedd5b948907f547cb Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 13 Aug 2010 08:50:09 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Navigator=20-=20make=20usage=20of=20only=20?= =?UTF-8?q?one=20tree=20-=20fixed=20"Button"-dummy=20-=20fixed=20refreshin?= =?UTF-8?q?g=20of=20the=20tree=20data=20for=20first=20invocation=20-=20fix?= =?UTF-8?q?ed=20tiny=20bits=20for=20possible=20crashes/exceptions=20due=20?= =?UTF-8?q?to=20threading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPDatabaseDocument.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/SPDatabaseDocument.m') diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index c26bce66..45615c9f 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -1246,12 +1246,12 @@ { BOOL isNavigatorVisible = [[[SPNavigatorController sharedNavigatorController] window] isVisible]; - if(!isNavigatorVisible) { - [[SPNavigatorController sharedNavigatorController] updateEntriesForConnection:self]; - } - // Show or hide the navigator [[[SPNavigatorController sharedNavigatorController] window] setIsVisible:(!isNavigatorVisible)]; + + if(!isNavigatorVisible) + [[SPNavigatorController sharedNavigatorController] updateEntriesForConnection:self]; + } - (IBAction)showNavigator:(id)sender -- cgit v1.2.3