adium 2737:27b4b02d8712: Select the last used debug user. This w...
commits at adium.im
commits at adium.im
Mon Oct 19 04:19:15 UTC 2009
details: http://hg.adium.im/adium/rev/27b4b02d8712
revision: 2737:27b4b02d8712
author: Stephen Holt <sholt at adium.im>
date: Mon Oct 19 00:19:01 2009 -0400
Select the last used debug user. This was lost in 31319803cafd
Reviewed by sholt.
diffs (15 lines):
diff -r 2fd57fa30d21 -r 27b4b02d8712 Source/AILoginWindowController.m
--- a/Source/AILoginWindowController.m Fri Oct 16 19:06:17 2009 -0400
+++ b/Source/AILoginWindowController.m Mon Oct 19 00:19:01 2009 -0400
@@ -237,7 +237,11 @@
[checkbox_displayOnStartup setState:[[loginDict objectForKey:LOGIN_SHOW_WINDOW] boolValue]];
//Select the login they used last
+#if DEBUG_BUILD
+ lastLogin = [loginDict objectForKey:LOGIN_LAST_USER_DEBUG];
+#else
lastLogin = [loginDict objectForKey:LOGIN_LAST_USER];
+#endif
NSIndexSet *rowIndex;
if (lastLogin != nil && [lastLogin length] != 0 && [userArray indexOfObject:lastLogin] != NSNotFound) {
rowIndex = [NSIndexSet indexSetWithIndex:[userArray indexOfObject:lastLogin]];
More information about the commits
mailing list