From 2fbcf20316ada2fe3ff2f97b5079646bd3aa07df Mon Sep 17 00:00:00 2001 From: Elizabeth Date: Thu, 16 May 2024 20:01:14 +0300 Subject: [PATCH] dbeaver/pro#2478 Revert tree refresh on database task execution event (#33150) --- .../src/org/jkiss/dbeaver/tasks/ui/view/DatabaseTasksView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.jkiss.dbeaver.tasks.ui.view/src/org/jkiss/dbeaver/tasks/ui/view/DatabaseTasksView.java b/plugins/org.jkiss.dbeaver.tasks.ui.view/src/org/jkiss/dbeaver/tasks/ui/view/DatabaseTasksView.java index fa3e2a982636..aab62d73385c 100644 --- a/plugins/org.jkiss.dbeaver.tasks.ui.view/src/org/jkiss/dbeaver/tasks/ui/view/DatabaseTasksView.java +++ b/plugins/org.jkiss.dbeaver.tasks.ui.view/src/org/jkiss/dbeaver/tasks/ui/view/DatabaseTasksView.java @@ -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(); }