chiark / gitweb /
update control buttons when disconnection detected
[disorder] / disobedience / client.c
index 6ec4be5e6ad9c9adf811cfcdbd0d37cc0d2d6fc9..ea0dbd9acd321f21042c9c808399ea4320fb4fb4 100644 (file)
@@ -110,6 +110,8 @@ static void gtkclient_poll(void *u,
 static void gtkclient_comms_error(void attribute((unused)) *u,
                                  const char *msg) {
   D(("gtkclient_comms_error %s", msg));
+  /* Control buttons might have become unusable */
+  control_update();
   gtk_label_set_text(GTK_LABEL(report_label), msg);
 }