]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/charmap.qc
Header police
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / charmap.qc
index 1b0881dc5663f0379adafaa1eb99173106f23d8a..7a10648c91001b8dd186b2b2de89f85f10e013a4 100644 (file)
@@ -1,3 +1,4 @@
+#include "charmap.qh"
 #ifndef CHARMAP_H
 #define CHARMAP_H
 #include "picker.qc"
@@ -98,7 +99,11 @@ void XonoticCharmap_cellSelect(entity me, vector cell)
 {
        string character = charmap_cellToChar(me, cell);
        if(character != "")
+       {
                me.inputBox.enterText(me.inputBox, character);
+               if(me.inputBox.applyButton)
+                       me.inputBox.applyButton.disabled = false;
+       }
 }
 
 bool XonoticCharmap_cellIsValid(entity me, vector cell)