Revision: 2964
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2964&view=rev
Author:   hofman
Date:     2007-09-21 10:22:32 -0700 (Fri, 21 Sep 2007)

Log Message:
-----------
Load note type sheet only once.

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

Modified: trunk/SKNoteOutlineView.m
===================================================================
--- trunk/SKNoteOutlineView.m   2007-09-21 16:47:35 UTC (rev 2963)
+++ trunk/SKNoteOutlineView.m   2007-09-21 17:22:32 UTC (rev 2964)
@@ -280,7 +280,7 @@
 }
 
 - (IBAction)selectNoteTypes:(id)sender {
-    if (NO == [NSBundle loadNibNamed:@"NoteTypeSheet" owner:self]) {
+    if (noteTypeSheet == nil && NO == [NSBundle loadNibNamed:@"NoteTypeSheet" 
owner:self]) {
         NSLog(@"Failed to load NoteTypeSheet.nib");
         return;
     }


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to