Author: daceywang
Date: Thu Jan 29 15:46:38 2009
New Revision: 2935
Modified:
trunk/src/ca/sqlpower/architect/swingui/ProfileManagerView.java
Log:
Before, when using SHIFT to multiselect ProfileRowComponents in Table
Profiles from bottom to top, the bottom component, which is last selected
and is not currently selected, gains focus rather than the top one. Now
fixed.
Modified: trunk/src/ca/sqlpower/architect/swingui/ProfileManagerView.java
==============================================================================
--- trunk/src/ca/sqlpower/architect/swingui/ProfileManagerView.java
(original)
+++ trunk/src/ca/sqlpower/architect/swingui/ProfileManagerView.java Thu Jan
29 15:46:38 2009
@@ -302,6 +302,7 @@
showingRows.get(i).setSelected(true,
SelectionEvent.SINGLE_SELECT);
}
}
+ showingRows.get(selectedRowIndex).setSelected(true,
SelectionEvent.SINGLE_SELECT);
}
ignoreSelectionEvents = false;
}