Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-06-30 21:56:51 +0000
committermkersten2005-06-30 21:56:51 +0000
commitcea50a53b54a1b65d905c43c90f2d644eef6714e (patch)
tree67a506a680d259c8937642cb1a93773063a8ea35
parent2a55e661bdd0dab5b4e237fb7e65cbfd412e5fde (diff)
downloadorg.eclipse.mylyn.tasks-cea50a53b54a1b65d905c43c90f2d644eef6714e.tar.gz
org.eclipse.mylyn.tasks-cea50a53b54a1b65d905c43c90f2d644eef6714e.tar.xz
org.eclipse.mylyn.tasks-cea50a53b54a1b65d905c43c90f2d644eef6714e.zip
lazier task list writing
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/MylarTasksPlugin.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/MylarTasksPlugin.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/MylarTasksPlugin.java
index 061cc0fd2..7327e795e 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/MylarTasksPlugin.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/MylarTasksPlugin.java
@@ -121,12 +121,12 @@ public class MylarTasksPlugin extends AbstractUIPlugin implements IStartup {
private static ShellListener SHELL_LISTENER = new ShellListener() {
private void saveState() {
taskListManager.saveTaskList();
- for(ITask task : taskListManager.getTaskList().getActiveTasks()) {
- MylarPlugin.getTaskscapeManager().saveTaskscape(task.getHandle(), task.getPath());
- }
}
public void shellClosed(ShellEvent arg0) {
saveState();
+ for(ITask task : taskListManager.getTaskList().getActiveTasks()) {
+ MylarPlugin.getTaskscapeManager().saveTaskscape(task.getHandle(), task.getPath());
+ }
}
public void shellDeactivated(ShellEvent arg0) {
saveState();

Back to the top