Skip to content

Commit

Permalink
dbeaver/pro#2478 Refresh tasks viewer on scheduled task execution (#2…
Browse files Browse the repository at this point in the history
…9940)

Co-authored-by: kseniaguzeeva <[email protected]>
  • Loading branch information
E1izabeth and kseniaguzeeva committed May 10, 2024
1 parent f076c2e commit a0c1830
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ public void saveViewConfig() {
void refresh() {
refreshTasks();
regroupTasks(ExpansionOptions.RETAIN);
//taskViewer.refresh(true);
refreshScheduledTasks();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,10 @@ public void handleTaskEvent(DBTTaskEvent event) {
}
case TASK_REMOVE -> refresh();
case TASK_UPDATE -> {
tasksTree.getViewer().refresh(task);
if (task == tasksTree.getSelectedTask()) {
loadTaskRuns(true);
}
tasksTree.refresh();
}
case TASK_EXECUTE -> refresh();
}
Expand Down

0 comments on commit a0c1830

Please sign in to comment.