Skip to content

Commit

Permalink
Merge pull request #483 from UnifiedViews/feature/409_dpu_template_re…
Browse files Browse the repository at this point in the history
…vival

Clear DPU selection after DPU was successfully removed.
  • Loading branch information
eea02 committed Jul 30, 2015
2 parents 67e674c + c39175e commit 11814e6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ public void copyDPUEventHandler() {
public void deleteDPUEventHandler() {
boolean isDeleted = deleteDPU(selectedDpu);
if (isDeleted) {
// clear selection
selectedDpu = null;
// and refresh the layout
view.refresh();
view.selectNewDPU(null);
Expand Down

0 comments on commit 11814e6

Please sign in to comment.