From 691a7310538c352321a48a0c8b33d4a33581e145 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 6 Jun 2020 21:38:51 +0200 Subject: [PATCH] Remove wrong dialog names --- qcsrc/menu/item/dialog.qh | 1 + qcsrc/menu/xonotic/dialog_settings_bindings_reset.qh | 1 - qcsrc/menu/xonotic/dialog_settings_misc_reset.qh | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/menu/item/dialog.qh b/qcsrc/menu/item/dialog.qh index 6fa9b26ab..1a9a60849 100644 --- a/qcsrc/menu/item/dialog.qh +++ b/qcsrc/menu/item/dialog.qh @@ -43,6 +43,7 @@ CLASS(Dialog, InputContainer) // to be customized ATTRIB(Dialog, closable, float, 1); ATTRIB(Dialog, title, string, "Form1"); + ATTRIB(Dialog, name, string, ""); // if set to a string without spaces this dialog can be opened via menu_cmd directmenu ATTRIB(Dialog, color, vector, '1 0.5 1'); ATTRIB(Dialog, intendedWidth, float, 0); ATTRIB(Dialog, rows, float, 3); diff --git a/qcsrc/menu/xonotic/dialog_settings_bindings_reset.qh b/qcsrc/menu/xonotic/dialog_settings_bindings_reset.qh index 0f0be01cd..24e974f2e 100644 --- a/qcsrc/menu/xonotic/dialog_settings_bindings_reset.qh +++ b/qcsrc/menu/xonotic/dialog_settings_bindings_reset.qh @@ -8,5 +8,4 @@ CLASS(XonoticBindingsResetDialog, XonoticDialog) ATTRIB(XonoticBindingsResetDialog, intendedWidth, float, 0.5); ATTRIB(XonoticBindingsResetDialog, rows, float, 3); ATTRIB(XonoticBindingsResetDialog, columns, float, 2); - ATTRIB(XonoticBindingsResetDialog, name, string, "Reset key bindings"); ENDCLASS(XonoticBindingsResetDialog) diff --git a/qcsrc/menu/xonotic/dialog_settings_misc_reset.qh b/qcsrc/menu/xonotic/dialog_settings_misc_reset.qh index f1d02ff90..545934582 100644 --- a/qcsrc/menu/xonotic/dialog_settings_misc_reset.qh +++ b/qcsrc/menu/xonotic/dialog_settings_misc_reset.qh @@ -8,5 +8,4 @@ CLASS(XonoticResetDialog, XonoticDialog) ATTRIB(XonoticResetDialog, intendedWidth, float, 0.5); ATTRIB(XonoticResetDialog, rows, float, 4); ATTRIB(XonoticResetDialog, columns, float, 2); - ATTRIB(XonoticResetDialog, name, string, "Factory reset"); ENDCLASS(XonoticResetDialog) -- 2.39.2