adium/adium

Parents a04d8ed2bbc3
Children 9b4f5ee4a326
Make sure the list has been cleared before the values are read, otherwise libpurple will think the original selection was still active, causing changes not to apply.

Fixes #15629
--- a/Plugins/Purple Service/AMPurpleRequestFieldsController.m Wed Feb 15 18:11:33 2012 +0100
+++ b/Plugins/Purple Service/AMPurpleRequestFieldsController.m Fri Feb 17 01:22:27 2012 +0100
@@ -318,6 +318,8 @@
children:[NSArray arrayWithObject:list]
attributes:[NSArray arrayWithObject:[NSXMLNode attributeWithName:@"class" stringValue:@"input"]]]];
+ purple_request_field_list_clear_selected(field);
+
return result;
}