mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-74652 Time tracking features. Correct initial state.
This commit is contained in:
+1
-2
@@ -59,7 +59,6 @@ public class TasksToolWindowPanel extends JPanel implements Disposable {
|
||||
|
||||
@Override
|
||||
public void taskAdded(final LocalTask task) {
|
||||
task.setTimeSpent(1);
|
||||
updateTable();
|
||||
}
|
||||
|
||||
@@ -82,7 +81,7 @@ public class TasksToolWindowPanel extends JPanel implements Disposable {
|
||||
myTableModel.setItems(ContainerUtil.filter(myTaskManager.getLocalTasks(), new Condition<LocalTask>() {
|
||||
@Override
|
||||
public boolean value(final LocalTask task) {
|
||||
return task.getTimeSpent() != 0;
|
||||
return task.isActive() || task.getTimeSpent() != 0;
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user