Revision: 27939
          http://sourceforge.net/p/bibdesk/svn/27939
Author:   hofman
Date:     2022-09-26 21:38:51 +0000 (Mon, 26 Sep 2022)
Log Message:
-----------
don't set undo action name when changing serverInfo, this is not undoable

Modified Paths:
--------------
    trunk/bibdesk/BDSKGroup+Scripting.m

Modified: trunk/bibdesk/BDSKGroup+Scripting.m
===================================================================
--- trunk/bibdesk/BDSKGroup+Scripting.m 2022-09-26 21:31:36 UTC (rev 27938)
+++ trunk/bibdesk/BDSKGroup+Scripting.m 2022-09-26 21:38:51 UTC (rev 27939)
@@ -563,7 +563,6 @@
     BDSKServerInfo *serverInfo = [[self serverInfo] 
newServerInfoWithScriptingServerInfo:info];
     if (serverInfo != nil && [NSString isEmptyString:[serverInfo name]] == NO) 
{
         [self setServerInfo:serverInfo];
-        [[self undoManager] 
setActionName:NSLocalizedString(@"AppleScript",@"Undo action name for 
AppleScript")];
     } else {
         NSScriptCommand *cmd = [NSScriptCommand currentCommand];
         [cmd setScriptErrorNumber:NSReceiversCantHandleCommandScriptError];

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