1
ChibiTracker Bug Reports / Re: numpad input not functional on 'orders'
« on: March 22, 2008, 16:45:53 »
hello again.
i love this tracker so i modify the code and it's work...
it's dirty, but easy to explain in this forum.
so just modify the interface/order_list_editor.cpp near line 221
change :
now, just re-compile it and play !
i'm too lazy to do nice a patch for the moment.
but i hope it will save some users... enjoy !
i love this tracker so i modify the code and it's work...
it's dirty, but easy to explain in this forum.
so just modify the interface/order_list_editor.cpp near line 221
change :
Code: [Select]
bool OrderListEditor::key(unsigned long p_unicode, unsigned long p_scan_code,bool p_press,bool p_repeat,int p_modifier_mask) {
if (!p_press)
return true;
KeyBindList kbind=KeyBind::get_bind( p_scan_code );
if (kbind==KB_MAX)
return false;
bool capture=false;
with :Code: [Select]
bool OrderListEditor::key(unsigned long p_unicode, unsigned long p_scan_code,bool p_press,bool p_repeat,int p_modifier_mask) {
if (!p_press)
return true;
KeyBindList kbind=KeyBind::get_bind( p_scan_code );
bool capture=false;
if (p_unicode >= '0' and p_unicode <= '9') {
editor->orderlist_insert_value(p_unicode-'0');
update();
return capture;
}
if (kbind==KB_MAX)
return false;
now, just re-compile it and play !
i'm too lazy to do nice a patch for the moment.
but i hope it will save some users... enjoy !