Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug 3267
  • Loading branch information
KlasJoensson committed Aug 21, 2012
1 parent 9919b10 commit 16e2eda
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -489,7 +489,6 @@ private boolean dialogInputIsComplete() {

private String extractAccountId(String selectedAccountListItem) {
String selectedAccountId = selectedAccountListItem;
// = accountsListViewer.getList().getSelection()[0];
int endIndex = selectedAccountId.indexOf( " {" );
if (endIndex > -1)
selectedAccountId = selectedAccountId.substring( 0, endIndex );
Expand Down Expand Up @@ -639,8 +638,9 @@ public void modify(Object element, String property, Object value) {
break;

case 1:
model.dummyAccounts.get(
accountsListViewer.getList().getSelection()[0] ).
String accountId = extractAccountId(accountsListViewer.getList()
.getSelection()[0]);
model.dummyAccounts.get( accountId ).
properties.put( (String)row.get(0), (String)value);
refreshTable();
break;
Expand Down

0 comments on commit 16e2eda

Please sign in to comment.