Revision 2289

tmp/org.txm.rcp/src/main/java/org/txm/rcp/commands/workspace/UpdateCorpus.java (revision 2289)
72 72

  
73 73
			@Override
74 74
			protected IStatus run(IProgressMonitor monitor) {
75
				if (project.compute(monitor)) {
75
				project.setCurrentMonitor(monitor);
76
				if (project.compute(true)) { // TODO children should be recomputed later when the user needs it
76 77

  
77 78
					this.syncExec(new Runnable() {
78

  
79 79
						@Override
80 80
						public void run() {
81 81
							RestartTXM.reloadViews();
tmp/org.txm.rcp/src/main/java/org/txm/rcp/commands/ChangeTXMWorkspace.java (revision 2289)
74 74
		JobHandler jobhandler = new JobHandler("Changing working directory...") { 
75 75
			@Override
76 76
			protected IStatus run(IProgressMonitor monitor) {
77
				JobsTimer.start();
78 77
				try {
79 78

  
80 79
					monitor.worked(95);
......
91 90
				} finally {
92 91
					monitor.done();
93 92
				}
94
				JobsTimer.stopAndPrint();
95 93
				return Status.OK_STATUS;
96 94
			}
97 95
		};

Also available in: Unified diff