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:
		
							parent
							
								
									56bc995cc2
								
							
						
					
					
						commit
						0c7ad0dcaa
					
				
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 38 KiB  | 
| 
						 | 
					@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -30,7 +30,7 @@ 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();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue