mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Enter dive edit mode on divemaster field focus
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									b8c746d975
								
							
						
					
					
						commit
						6a58712270
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -304,7 +304,7 @@ bool MainTab::eventFilter(QObject* object, QEvent* event) | ||||||
| 	// FocusIn for the starWidgets or RequestSoftwareInputPanel for tagWidget start the editing
 | 	// FocusIn for the starWidgets or RequestSoftwareInputPanel for tagWidget start the editing
 | ||||||
| 	if ((event->type() == QEvent::MouseButtonPress) || | 	if ((event->type() == QEvent::MouseButtonPress) || | ||||||
| 	    (event->type() == QEvent::KeyPress && object == ui.dateTimeEdit) || | 	    (event->type() == QEvent::KeyPress && object == ui.dateTimeEdit) || | ||||||
| 	    (event->type() == QEvent::FocusIn && (object == ui.rating || object == ui.visibility || object == ui.buddy || object == ui.tagWidget))) { | 	    (event->type() == QEvent::FocusIn && (object == ui.rating || object == ui.visibility || object == ui.buddy || object == ui.tagWidget || object || ui.divemaster))) { | ||||||
| 		tabBar()->setTabIcon(currentIndex(), QIcon(":warning")); | 		tabBar()->setTabIcon(currentIndex(), QIcon(":warning")); | ||||||
| 		enableEdition(); | 		enableEdition(); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue