diff --git a/macosx/GroupsWindowController.m b/macosx/GroupsWindowController.m index 3c1589533..ad33d8ce0 100644 --- a/macosx/GroupsWindowController.m +++ b/macosx/GroupsWindowController.m @@ -157,6 +157,8 @@ [fTableView selectRow: row byExtendingSelection: NO]; [fTableView scrollRowToVisible: row]; + [[fSelectedColorNameField window] makeFirstResponder: fSelectedColorNameField]; + break; case REMOVE_TAG: @@ -165,8 +167,9 @@ [fTableView reloadData]; - if ([fTableView numberOfRows] > 0) - [fTableView scrollRowToVisible: [fTableView selectedRow]]; + NSInteger selectedRow = [fTableView selectedRow]; + if (selectedRow != -1) + [fTableView scrollRowToVisible: selectedRow]; break; } diff --git a/macosx/en.lproj/PrefsWindow.xib b/macosx/en.lproj/PrefsWindow.xib index 8b3c57309..0200d00dd 100644 --- a/macosx/en.lproj/PrefsWindow.xib +++ b/macosx/en.lproj/PrefsWindow.xib @@ -8,7 +8,6 @@ 352.00 YES - YES @@ -2124,6 +2123,309 @@ AAABAAAAAQ NSView NSResponder + + + 256 + + YES + + + 4372 + + YES + + + 2304 + + YES + + + 4352 + {160, 169} + + YES + + + 256 + {{184, 0}, {16, 17}} + + + YES + + Color + 2.000000e+01 + 2.000000e+01 + 2.000000e+01 + + 75628032 + 0 + Color + + + 6 + System + headerColor + + + + 6 + System + headerTextColor + + + + + 67239424 + 33685504 + + 549453824 + {18, 18} + + YES + + YES + + + + TU0AKgAABIiAACBQOCQWDQeEQmDAuBv6BveFRGJROKD0VBRGO52vVlNV0vdVRSRRQDQMEwMEQIAhMJBc +MDhPmkbpBaLtotleusFshvNtqoMAP9/uqDyWBA8CAYDBkFgoFhkFAoGBgFgwFhUIhAJCAMhsOB4MhoMh +0KBYLBWWBIIgV/vcFFQFNAAON5ydbPkVgBCn46El9vp9LiCCUTCdAk4pFYxioUCUHhgMhkEBrIAQJSwA +VYFADAPoAA8HA+BAKBPV6PgAOlqKsABx4LUAPBzSdjBEqAA1m01Hd3ut0IqCBQKhc5pZNJtElUoE0BvX +nAB938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ZjZ3QAAAAAAAAAAQAA2mMAAAAAAAEAAAAA +2mMAAAAAAAEAAAAA2mMAAAAAAAEAAG5kaW4AAAAAAAAAMAAAosAAAFPAAABHQAAAmYAAACZXAAASGwAA +SIAAAExAAAIcKQACHCkAAhwpZGVzYwAAAAAAAAAFZU1hYwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbWx1YwAA +AAAAAAAPAAAADG5iTk8AAAAIAAAAxHN2U0UAAAAIAAAAxGZpRkkAAAAIAAAAxGRhREsAAAAIAAAAxHpo +Q04AAAAIAAAAxGZyRlIAAAAIAAAAxGphSlAAAAAIAAAAxGVuVVMAAAAIAAAAxHB0QlIAAAAIAAAAxGVz +RVMAAAAIAAAAxHpoVFcAAAAIAAAAxGtvS1IAAAAIAAAAxGRlREUAAAAIAAAAxG5sTkwAAAAIAAAAxGl0 +SVQAAAAIAAAAxABlAE0AYQBjbW1vZAAAAAAAAAYQAACdBwAAAAChuxOAAAAAAAAAAAAAAAAAAAAAAHRl +eHQAAAAAQ29weXJpZ2h0IEFwcGxlLCBJbmMuLCAyMDA4AA + + NSCalibratedRGBColorSpace + 8 + 24 + 0 + + + + + 3 + MCAwAA + + + + 0 + 0 + 0 + NO + + + + + Name + 1.340000e+02 + 4.000000e+01 + 1.000000e+03 + + 75628032 + 0 + Name + + + 3 + MC4zMzMzMzI5OQA + + + + + 337772096 + 2048 + Text Cell + + + + + + 1 + YES + + + + 3.000000e+00 + 2.000000e+00 + + + 6 + System + gridColor + + 3 + MC41AA + + + 1.800000e+01 + 46137344 + 4 + 15 + 0 + YES + + + {{1, 1}, {160, 169}} + + + + 4 + + + + -2147483392 + {{184, 1}, {15, 188}} + + + _doScroller: + 9.949238e-01 + + + + 256 + {{-100, -100}, {470, 15}} + + 1 + + _doScroller: + 1.967213e-01 + 9.978769e-01 + + + {{20, 49}, {162, 171}} + + 530 + + + + QSAAAEEgAABBoAAAQaAAAA + + + + 292 + {{20, 19}, {67, 23}} + + YES + + 67239424 + 0 + + + + YES + + 3.200000e+01 + + NSImage + NSAddTemplate + + + 0 + + + 3.200000e+01 + + NSImage + NSRemoveTemplate + + + 1 + 0 + + + 1 + 2 + 6 + + + + + 268 + {{250, 173}, {265, 22}} + + YES + + -1804468671 + 272630784 + + + + YES + + + + + + + 268 + {{247, 203}, {88, 17}} + + YES + + 68288064 + 272630784 + Group Name: + + + + + + + + + 268 + + YES + + YES + NSColor pasteboard type + + + {{190, 173}, {52, 47}} + + YES + YES + + 1 + MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA + + + + {535, 240} + NSView + 256 @@ -3439,12 +3741,7 @@ AAABAAAAAQ 3 MC4zMzMzMzI5OQA - - 6 - System - headerTextColor - - + 337772096 @@ -3464,15 +3761,7 @@ AAABAAAAAQ 3.000000e+00 2.000000e+00 - - 6 - System - gridColor - - 3 - MC41AA - - + 1.700000e+01 448790528 4 @@ -3549,19 +3838,13 @@ AAABAAAAAQ YES 3.200000e+01 - - NSImage - NSAddTemplate - + 0 3.200000e+01 - - NSImage - NSRemoveTemplate - + 1 YES @@ -3651,293 +3934,6 @@ AAABAAAAAQ NSView NSResponder - - - 256 - - YES - - - 4352 - - YES - - - 2304 - - YES - - - 4352 - {160, 135} - - YES - - - 256 - {{184, 0}, {16, 17}} - - - YES - - Color - 2.000000e+01 - 2.000000e+01 - 2.000000e+01 - - 75628032 - 0 - Color - - - 6 - System - headerColor - - - - - - 67239424 - 33685504 - - 549453824 - {18, 18} - - YES - - YES - - - - TU0AKgAABIiAACBQOCQWDQeEQmDAuBv6BveFRGJROKD0VBRGO52vVlNV0vdVRSRRQDQMEwMEQIAhMJBc -MDhPmkbpBaLtotleusFshvNtqoMAP9/uqDyWBA8CAYDBkFgoFhkFAoGBgFgwFhUIhAJCAMhsOB4MhoMh -0KBYLBWWBIIgV/vcFFQFNAAON5ydbPkVg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APNpAAEAAAAB -aBRzZjMyAAAAAAABGV8AAAsd///pZAAADooAAP0W///4P///++0AAAaUAACUN2N1cnYAAAAAAAAAAQHN -AABjdXJ2AAAAAAAAAAEBzQAAY3VydgAAAAAAAAABAc0AAHZjZ3QAAAAAAAAAAQAA2mMAAAAAAAEAAAAA -2mMAAAAAAAEAAAAA2mMAAAAAAAEAAG5kaW4AAAAAAAAAMAAAosAAAFPAAABHQAAAmYAAACZXAAASGwAA -SIAAAExAAAIcKQACHCkAAhwpZGVzYwAAAAAAAAAFZU1hYwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbWx1YwAA -AAAAAAAPAAAADG5iTk8AAAAIAAAAxHN2U0UAAAAIAAAAxGZpRkkAAAAIAAAAxGRhREsAAAAIAAAAxHpo -Q04AAAAIAAAAxGZyRlIAAAAIAAAAxGphSlAAAAAIAAAAxGVuVVMAAAAIAAAAxHB0QlIAAAAIAAAAxGVz -RVMAAAAIAAAAxHpoVFcAAAAIAAAAxGtvS1IAAAAIAAAAxGRlREUAAAAIAAAAxG5sTkwAAAAIAAAAxGl0 -SVQAAAAIAAAAxABlAE0AYQBjbW1vZAAAAAAAAAYQAACdBwAAAAChuxOAAAAAAAAAAAAAAAAAAAAAAHRl -eHQAAAAAQ29weXJpZ2h0IEFwcGxlLCBJbmMuLCAyMDA4AA - - NSCalibratedRGBColorSpace - 8 - 24 - 0 - - - - - 3 - MCAwAA - - - - 0 - 0 - 0 - NO - - - - - Name - 1.340000e+02 - 4.000000e+01 - 1.000000e+03 - - 75628032 - 0 - Name - - - 3 - MC4zMzMzMzI5OQA - - - - - 337772096 - 2048 - Text Cell - - - - - - 1 - YES - - - - 3.000000e+00 - 2.000000e+00 - - - 1.800000e+01 - 46137344 - 4 - 15 - 0 - YES - - - {{1, 1}, {160, 135}} - - - - - 4 - - - - -2147483392 - {{184, 1}, {15, 188}} - - - _doScroller: - 9.949238e-01 - - - - 256 - {{-100, -100}, {470, 15}} - - 1 - - _doScroller: - 1.967213e-01 - 9.978769e-01 - - - {{20, 49}, {162, 137}} - - - 530 - - - - QSAAAEEgAABBoAAAQaAAAA - - - - 256 - {{20, 19}, {67, 23}} - - YES - - 67239424 - 0 - - - - YES - - 3.200000e+01 - - - 0 - - - 3.200000e+01 - - - 1 - 0 - - - 1 - 2 - 6 - - - - - 256 - {{250, 139}, {265, 22}} - - YES - - -1804468671 - 272630784 - - - - YES - - - - - - - 256 - {{247, 169}, {88, 17}} - - YES - - 68288064 - 272630784 - Group Name: - - - - - - - - - 268 - - YES - - YES - NSColor pasteboard type - - - {{190, 139}, {52, 47}} - - YES - YES - - 1 - MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA - - - - {535, 206} - - NSView - YES @@ -10283,7 +10279,7 @@ eHQAAAAAQ29weXJpZ2h0IEFwcGxlLCBJbmMuLCAyMDA4AA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{179, 539}, {535, 206}} + {{179, 505}, {535, 240}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin