Revision: 28002
          http://sourceforge.net/p/bibdesk/svn/28002
Author:   hofman
Date:     2022-10-06 14:31:12 +0000 (Thu, 06 Oct 2022)
Log Message:
-----------
make button action private

Modified Paths:
--------------
    trunk/bibdesk/BDSKSecureTextField.h
    trunk/bibdesk/BDSKSecureTextField.m

Modified: trunk/bibdesk/BDSKSecureTextField.h
===================================================================
--- trunk/bibdesk/BDSKSecureTextField.h 2022-10-06 14:27:05 UTC (rev 28001)
+++ trunk/bibdesk/BDSKSecureTextField.h 2022-10-06 14:31:12 UTC (rev 28002)
@@ -47,8 +47,6 @@
 
 @property (nonatomic) BOOL showsText;
 
-- (IBAction)toggleShowsText:(id)sender;
-
 @end
 
 #pragma mark -

Modified: trunk/bibdesk/BDSKSecureTextField.m
===================================================================
--- trunk/bibdesk/BDSKSecureTextField.m 2022-10-06 14:27:05 UTC (rev 28001)
+++ trunk/bibdesk/BDSKSecureTextField.m 2022-10-06 14:31:12 UTC (rev 28002)
@@ -89,6 +89,10 @@
     return image;
 }
 
+- (void)toggleShowsText:(id)sender {
+    [self setShowsText:[sender state] == NSOnState];
+}
+
 - (void)makeButton {
     button = [[BDSKEmbeddedButton alloc] init];
     [button setButtonType:NSToggleButton];
@@ -172,10 +176,6 @@
     [super dealloc];
 }
 
-- (IBAction)toggleShowsText:(id)sender {
-    [self setShowsText:[sender state] == NSOnState];
-}
-
 - (void)setShowsText:(BOOL)flag {
     if (showsText == flag)
         return;

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



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to