﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
655	Delete of UnSelected Member in Edit Relation causes Exception	Parthian	framm	"I am adding Members to a Relation but have a minor problem with the Delete. If no row is selected when Delete is pressed an exception is raised (see below). Should be an easy fix. However, it would be nice if the row is automatically selected particularly in the case when you may wish to delete many rows (say when the wrong area is selected). So e.g. Add Selection and S/W automatically hightlights top row. Then a Delete would remove that row and highlight the next in case it needs to be deleted. So Delete, Delete, Delete in place of Click row, Delete, Click Row, Delete etc. 

A nice to have.


Cheers

Path: josm
URL: http://www.openstreetmap.de/svn/josm
Repository Root: http://www.openstreetmap.de/svn/josm
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 451
Node Kind: directory
Last Changed Author: gebner
Last Changed Rev: 451
Last Changed Date: 2007-11-02 13:25:07 +0100 (Fri, 02 Nov 2007)


java.lang.ArrayIndexOutOfBoundsException: -1
	at java.util.Vector.elementAt(Unknown Source)
	at javax.swing.table.DefaultTableModel.getValueAt(Unknown Source)
	at javax.swing.JTable.getValueAt(Unknown Source)
	at org.openstreetmap.josm.gui.dialogs.RelationEditor$7.actionPerformed(RelationEditor.java:222)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
"	defect	closed	minor		Core	latest	worksforme	Relation Editor	
