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