]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/keybinder.qc
Added dialog for keybindings reset.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / keybinder.qc
index 69734ef18e18b44efe30f5494bc67774b095a492..90712bbeb7c04f20c747f777b4621d1ae8e9a98b 100644 (file)
@@ -313,6 +313,7 @@ void KeyBinder_Bind_Reset_All(entity btn, entity me)
        localcmd("exec binds-xonotic.cfg\n");
        localcmd("-zoom\n"); // to make sure we aren't in togglezoom'd state
        cvar_set("_hud_showbinds_reload", "1");
+       me.close(me);
 }
 void XonoticKeyBinder_doubleClickListBoxItem(entity me, float i, vector where)
 {