From: <ho...@us...> - 2010-10-05 14:18:35
|
Revision: 17188 http://bibdesk.svn.sourceforge.net/bibdesk/?rev=17188&view=rev Author: hofman Date: 2010-10-05 14:18:29 +0000 (Tue, 05 Oct 2010) Log Message: ----------- don't update document status from webview when the webview is not showing Modified Paths: -------------- trunk/bibdesk/BDSKWebGroupViewController.m Modified: trunk/bibdesk/BDSKWebGroupViewController.m =================================================================== --- trunk/bibdesk/BDSKWebGroupViewController.m 2010-10-05 11:48:21 UTC (rev 17187) +++ trunk/bibdesk/BDSKWebGroupViewController.m 2010-10-05 14:18:29 UTC (rev 17188) @@ -498,6 +498,8 @@ #pragma mark WebUIDelegate protocol - (void)setStatus:(NSString *)text { + if ([webView window] == nil) + return; if ([NSString isEmptyString:text]) [document updateStatus]; else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |