Double clicking on ignition cell opens select ignition dialog. Removed
FIXME.
This commit is contained in:
		
							parent
							
								
									594638bf02
								
							
						
					
					
						commit
						9916a98ccb
					
				| @ -87,10 +87,15 @@ public class MotorConfigurationPanel extends JPanel { | |||||||
| 			@Override | 			@Override | ||||||
| 			public void mouseClicked(MouseEvent e) { | 			public void mouseClicked(MouseEvent e) { | ||||||
| 				updateButtonState(); | 				updateButtonState(); | ||||||
|  | 				int selectedColumn = configurationTable.getSelectedColumn(); | ||||||
| 				if (e.getClickCount() == 2) { | 				if (e.getClickCount() == 2) { | ||||||
| 					// FIXME:  Double-click on ignition column should select ignition | 					if (selectedColumn == 2) { | ||||||
| 					// Double-click edits motor | 						// user double clicked in ignition column | ||||||
| 					selectMotor(); | 						selectIgnition(); | ||||||
|  | 					} else { | ||||||
|  | 						// Double-click edits motor | ||||||
|  | 						selectMotor(); | ||||||
|  | 					} | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
| 		}); | 		}); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user