mirror of https://github.com/stella-emu/stella.git
DataGridWidget now supports keypad +/-.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3147 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
5dece736b1
commit
6f194fcd76
|
@ -30,6 +30,8 @@
|
|||
insertion of illegal characters. This will be extended throughout
|
||||
the code in future releases.
|
||||
|
||||
* DataGridWidgets in the debugger now respond to keypad '+' and '-'.
|
||||
|
||||
-Have fun!
|
||||
|
||||
|
||||
|
|
|
@ -423,11 +423,13 @@ bool DataGridWidget::handleKeyDown(StellaKey key, StellaMod mod)
|
|||
break;
|
||||
|
||||
case KBDK_MINUS: // decrement
|
||||
case KBDK_KP_MINUS:
|
||||
if(_editable)
|
||||
decrementCell();
|
||||
break;
|
||||
|
||||
case KBDK_EQUALS: // increment
|
||||
case KBDK_KP_PLUS:
|
||||
if(_editable)
|
||||
incrementCell();
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue