Don't try to update the clear button state when there's no DCC window.

This commit is contained in:
Arnavion 2013-10-03 17:43:44 -07:00
parent 301e5d260d
commit fa955a0f1a
1 changed files with 2 additions and 1 deletions

View File

@ -1128,6 +1128,7 @@ fe_dcc_update (struct DCC *dcc)
dcc_update_chat (dcc);
}
if (dccfwin.window)
update_clear_button_sensitivity();
}