Skip to content

Commit 6487c85

Browse files
mierin12buchen
authored andcommitted
simplify following the addition of notifyModelUpdated() method
1 parent f251eed commit 6487c85

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/views/GroupedAccountsListView.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ private void addNewButton(ToolBarManager toolBar)
223223
groupedAccounts.setExpandedState(newItem, true);
224224
// select the newly created account
225225
groupedAccounts.setSelection(new StructuredSelection(newItem));
226-
227226
})))));
228227
}
229228

@@ -474,10 +473,7 @@ private void deleteFilter(ClientFilterMenu.Item filterItem)
474473
String message = MessageFormat.format(Messages.MenuReportingPeriodDeleteConfirm, filterItem.getLabel());
475474
if (MessageDialog.openConfirm(Display.getDefault().getActiveShell(), Messages.MenuReportingPeriodDelete,
476475
message))
477-
{
478476
items.remove(filterItem);
479-
groupedAccounts.refresh();
480-
}
481477
}
482478

483479
private void deleteElementInFilter(Object element, ClientFilterMenu.Item filterItem)
@@ -488,7 +484,6 @@ private void deleteElementInFilter(Object element, ClientFilterMenu.Item filterI
488484
// important step: update UUIDs because this is basic
489485
// information in settings
490486
filterItem.setUUIDs(ClientFilterMenu.buildUUIDs(filter.getAllElements()));
491-
groupedAccounts.refresh();
492487
}
493488
}
494489

@@ -534,7 +529,6 @@ public Image getImage(Object element)
534529
// important step: update UUIDs because this is
535530
// basic information in settings
536531
selectedFilterElement.setUUIDs(ClientFilterMenu.buildUUIDs(filter.getAllElements()));
537-
groupedAccounts.refresh();
538532
}
539533
}
540534
}

0 commit comments

Comments
 (0)