Synced icons with KeePass 1.11

Allow keypad enter button in Auto-Type dialog

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@205 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
sniperbeamer 2008-06-09 08:15:07 +00:00
parent 56bc995cc2
commit 0c7ad0dcaa
3 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -28,7 +28,7 @@
#define APP_LONG_FUNC "Cross Platform Password Manager" #define APP_LONG_FUNC "Cross Platform Password Manager"
#define APP_VERSION "0.3.2" #define APP_VERSION "0.3.2"
#define BUILTIN_ICONS 65 #define BUILTIN_ICONS 69
// often used, stable header files for pch // often used, stable header files for pch

View File

@ -30,8 +30,8 @@ void AutoTypeTreeWidget::mouseMoveEvent(QMouseEvent* event){
} }
void AutoTypeTreeWidget::keyPressEvent(QKeyEvent* event){ void AutoTypeTreeWidget::keyPressEvent(QKeyEvent* event){
if(event->key()==Qt::Key_Return){ if(event->key()==Qt::Key_Return || event->key()==Qt::Key_Enter){
emit returnPressed(currentItem()); emit returnPressed(currentItem());
event->accept(); event->accept();
} }
else { else {