From 64c284ce6797295f21cb751fd0b1af9f83508b75 Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 23 Mar 2015 20:14:53 +0100 Subject: [PATCH] Welcome dialog: add an OK button --- qcsrc/menu/xonotic/dialog_welcome.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcsrc/menu/xonotic/dialog_welcome.qc b/qcsrc/menu/xonotic/dialog_welcome.qc index 93d948c55..624fc0aff 100644 --- a/qcsrc/menu/xonotic/dialog_welcome.qc +++ b/qcsrc/menu/xonotic/dialog_welcome.qc @@ -108,7 +108,9 @@ void XonoticWelcomeDialog_fill(entity me) me.TD(me, me.rows - 4 - 1, me.columns, me.serverinfo_MOTD_ent = makeXonoticTextListBox()); me.serverinfo_MOTD_ent.allowColors = 1; me.gotoRC(me, me.rows - 1, 0); - me.TDempty(me, 1); me.TD(me, 1, me.columns / 2, e = makeXonoticCommandButton(_("Disconnect"), '0 0 0', "disconnect", COMMANDBUTTON_CLOSE)); + me.TD(me, 1, me.columns / 2, e = makeXonoticButton(_("OK"), '0 0 0')); + e.onClick = Dialog_Close; + e.onClickEntity = me; } #endif -- 2.39.2