summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/dccgui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-gtk/dccgui.c b/src/fe-gtk/dccgui.c
index 76b1e2fb..562fe9e5 100644
--- a/src/fe-gtk/dccgui.c
+++ b/src/fe-gtk/dccgui.c
@@ -1128,7 +1128,8 @@ fe_dcc_update (struct DCC *dcc)
 		dcc_update_chat (dcc);
 	}
 
-	update_clear_button_sensitivity ();
+	if (dccfwin.window)
+		update_clear_button_sensitivity();
 }
 
 void