Revision: 22433
          http://sourceforge.net/p/bibdesk/svn/22433
Author:   hofman
Date:     2018-07-18 09:46:57 +0000 (Wed, 18 Jul 2018)
Log Message:
-----------
recolor format text after commit

Modified Paths:
--------------
    trunk/bibdesk/BibPref_AutoFile.m
    trunk/bibdesk/BibPref_CiteKey.m

Modified: trunk/bibdesk/BibPref_AutoFile.m
===================================================================
--- trunk/bibdesk/BibPref_AutoFile.m    2018-07-18 09:19:13 UTC (rev 22432)
+++ trunk/bibdesk/BibPref_AutoFile.m    2018-07-18 09:46:57 UTC (rev 22433)
@@ -316,6 +316,7 @@
             return;
         formatString = [formatSheetField stringValue];
         [sud setObject:formatString forKey:BDSKLocalFileFormatKey];
+        [self performSelector:@selector(textFieldDidBecomeFirstResponder:) 
withObject:formatSheetField afterDelay:0.0];
        }
        [[BDSKTypeManager sharedManager] setRequiredFieldsForLocalFile: 
[BDSKFormatParser requiredFieldsForFormat:formatString]];
     [self updateFormatPresetUI];

Modified: trunk/bibdesk/BibPref_CiteKey.m
===================================================================
--- trunk/bibdesk/BibPref_CiteKey.m     2018-07-18 09:19:13 UTC (rev 22432)
+++ trunk/bibdesk/BibPref_CiteKey.m     2018-07-18 09:46:57 UTC (rev 22433)
@@ -141,7 +141,7 @@
                frame.size.width = MAX_FORMAT_WIDTH;
                [formatField setFrame:frame];
        }
-       [formatSheetField setStringValue:[attrFormat string]];
+    [formatSheetField setStringValue:[attrFormat string]];
 }
 
 - (IBAction)citeKeyHelp:(id)sender{
@@ -228,6 +228,7 @@
             return;
         formatString = [formatSheetField stringValue];
         [sud setObject:formatString forKey:BDSKCiteKeyFormatKey];
+        [self performSelector:@selector(textFieldDidBecomeFirstResponder:) 
withObject:formatSheetField afterDelay:0.0];
     }
     [[BDSKTypeManager sharedManager] setRequiredFieldsForCiteKey: 
[BDSKFormatParser requiredFieldsForFormat:formatString]];
        [self updateFormatPresetUI];

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to