Revision: 6413
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6413&view=rev
Author:   hofman
Date:     2010-04-03 17:26:43 +0000 (Sat, 03 Apr 2010)

Log Message:
-----------
update line inspector when changing annotation line attributes, because 
changing the dashPattern can also change the borderStyle

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

Modified: trunk/SKMainWindowController_Actions.m
===================================================================
--- trunk/SKMainWindowController_Actions.m      2010-04-03 15:04:47 UTC (rev 
6412)
+++ trunk/SKMainWindowController_Actions.m      2010-04-03 17:26:43 UTC (rev 
6413)
@@ -69,6 +69,10 @@
 #import "NSDocument_SKExtensions.h"
 
 
+...@interface SKMainWindowController (SKPrivateUI)
+- (void)updateLineInspector;
+...@end
+
 @implementation SKMainWindowController (Actions)
 
 - (IBAction)changeColor:(id)sender{
@@ -138,6 +142,8 @@
                 break;
         }
         mwcFlags.updatingLine = 0;
+        // in case one property changes another, e.g. when adding a 
dashPattern the borderStyle can change
+        [self updateLineInspector];
     }
 }
 


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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to