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:
@@ -30,8 +30,8 @@ void AutoTypeTreeWidget::mouseMoveEvent(QMouseEvent* event){
|
||||
}
|
||||
|
||||
void AutoTypeTreeWidget::keyPressEvent(QKeyEvent* event){
|
||||
if(event->key()==Qt::Key_Return){
|
||||
emit returnPressed(currentItem());
|
||||
if(event->key()==Qt::Key_Return || event->key()==Qt::Key_Enter){
|
||||
emit returnPressed(currentItem());
|
||||
event->accept();
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user