Fix old method of unsetting field.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Mon, 4 Mar 2013 14:13:34 +0000 (15:13 +0100)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Mon, 4 Mar 2013 14:13:34 +0000 (15:13 +0100)
NJOutputController.m

index 25d04b125b7dcb04b0da737805f13edcdffa2cc7..ed8fe2df6f74e0f6c3304a39317f4d803c558475 100644 (file)
@@ -26,7 +26,7 @@
     NSInteger row = radioButtons.selectedRow;
     
     if (row != 1) {
-        keyInput.keyCode = -1;
+        keyInput.keyCode = NJKeyInputFieldEmpty;
         [keyInput resignIfFirstResponder];
     }