Don't try to update the clear button state when there's no DCC window.
This commit is contained in:
parent
301e5d260d
commit
fa955a0f1a
@ -1128,7 +1128,8 @@ fe_dcc_update (struct DCC *dcc)
|
|||||||
dcc_update_chat (dcc);
|
dcc_update_chat (dcc);
|
||||||
}
|
}
|
||||||
|
|
||||||
update_clear_button_sensitivity ();
|
if (dccfwin.window)
|
||||||
|
update_clear_button_sensitivity();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user