From: terencehill Date: Sat, 6 Jun 2020 19:38:51 +0000 (+0200) Subject: Remove wrong dialog names X-Git-Tag: xonotic-v0.8.5~935 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=691a7310538c352321a48a0c8b33d4a33581e145;p=xonotic%2Fxonotic-data.pk3dir.git Remove wrong dialog names --- 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)