From 6f194fcd76041b5645a6ba2b4de7ec9c2bf1c5a3 Mon Sep 17 00:00:00 2001 From: stephena Date: Mon, 9 Feb 2015 19:32:28 +0000 Subject: [PATCH] DataGridWidget now supports keypad +/-. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3147 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- Changes.txt | 2 ++ src/debugger/gui/DataGridWidget.cxx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Changes.txt b/Changes.txt index 11afbfc0b..1f892b991 100644 --- a/Changes.txt +++ b/Changes.txt @@ -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! diff --git a/src/debugger/gui/DataGridWidget.cxx b/src/debugger/gui/DataGridWidget.cxx index 74677eb81..9aeb852df 100644 --- a/src/debugger/gui/DataGridWidget.cxx +++ b/src/debugger/gui/DataGridWidget.cxx @@ -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;