diff options
author | Arnavion <arnavion@gmail.com> | 2013-10-03 17:43:44 -0700 |
---|---|---|
committer | Arnavion <arnavion@gmail.com> | 2013-10-03 17:43:44 -0700 |
commit | fa955a0f1a7863ab7a35c8a3753eac014288931f (patch) | |
tree | 0a0cd9ca412f1a51efddf5b183484541e4097fda | |
parent | 301e5d260d14738fba0d69e73129c52221a21839 (diff) |
Don't try to update the clear button state when there's no DCC window.
-rw-r--r-- | src/fe-gtk/dccgui.c | 3 |
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 |