diff src/gtkaccount.c @ 12843:d9686e688342

[gaim-migrate @ 15191] Handle the case when you've opened an account edit window for a new account. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 12 Jan 2006 02:21:04 +0000
parents c8afbc1bf98b
children cefac38bcb9f
line wrap: on
line diff
--- a/src/gtkaccount.c	Thu Jan 12 02:19:37 2006 +0000
+++ b/src/gtkaccount.c	Thu Jan 12 02:21:04 2006 +0000
@@ -714,6 +714,9 @@
 	gboolean set;
 	GList *l;
 
+	if (dialog->account == NULL)
+		return;
+
 	if (gc != NULL && dialog->account != gaim_connection_get_account(gc))
 		return;