Revision: 18251
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18251&view=rev
Author: hofman
Date: 2011-11-28 00:57:56 +0000 (Mon, 28 Nov 2011)
Log Message:
-----------
Don't set stupid default value for added fields. As no value is set there is no
undo needed. Just reset the fields and redisplay. Also just reset the fields
when removing an empty field.
Modified Paths:
--------------
trunk/bibdesk/BDSKTextImportController.m
trunk/bibdesk/English.lproj/Localizable.strings
Modified: trunk/bibdesk/BDSKTextImportController.m
===================================================================
--- trunk/bibdesk/BDSKTextImportController.m 2011-11-28 00:48:41 UTC (rev
18250)
+++ trunk/bibdesk/BDSKTextImportController.m 2011-11-28 00:57:56 UTC (rev
18251)
@@ -384,8 +384,6 @@
NSInteger row = [fields count];
[fields addObject:newField];
- [item setField:newField toValue:[NSString stringWithFormat:@"%@
%@",NSLocalizedString(@"Add data for field:", @"Default value for new field"),
newField]];
- [[item undoManager] setActionName:NSLocalizedString(@"Add Field", @"Undo
action name")];
[itemTableView reloadData];
[itemTableView selectRowIndexes:[NSIndexSet indexSetWithIndex:row]
byExtendingSelection:NO];
[itemTableView editColumn:2 row:row withEvent:nil select:YES];
Modified: trunk/bibdesk/English.lproj/Localizable.strings
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit