Revision: 5123
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5123&view=rev
Author:   hofman
Date:     2009-01-17 12:02:38 +0000 (Sat, 17 Jan 2009)

Log Message:
-----------
only flush window when needed after a reload

Modified Paths:
--------------
    trunk/SKMainWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2009-01-17 01:42:48 UTC (rev 5122)
+++ trunk/SKMainWindowController.m      2009-01-17 12:02:38 UTC (rev 5123)
@@ -788,7 +788,7 @@
                 [[secondaryPdfView documentView] 
scrollRectToVisible:[secondaryPdfView convertRect:[secondaryPdfView 
convertRect:secondaryVisibleRect fromPage:secondaryPage] 
toView:[secondaryPdfView documentView]]];
             }
             [[pdfView window] enableFlushWindow];
-            [[pdfView window] flushWindow];
+            [[pdfView window] flushWindowIfNeeded];
         }
         
         // the number of pages may have changed


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to