commit | 10de381e3c8b0656c0a5114a6332811f5f5484b4 | [log] [tgz] |
---|---|---|
author | Karsten Thoms <karsten.thoms@itemis.de> | Wed May 09 11:50:13 2018 +0200 |
committer | Alexander Kurtakov <akurtako@redhat.com> | Sat May 12 04:31:43 2018 -0400 |
tree | 8b388889548d31aa43f67358fbc714aa6f3f55f5 | |
parent | 89e4950f804b53b7c87edac36608c8d1a252c0e1 [diff] |
Bug 531433 - Replace usage of SubProgressMonitor by SubMonitor Fixes a regression. beginTask must not be called twice on an IProgressMonitor instance. SubMonitor.convert() will call beginTask on the given monitor, so beginTask must not be called before on this monitor instance. To avoid this, a SubMonitor is created with subMonitorFor given the required number of ticks. Change-Id: Icb87740d2a98a0c7b73bfaf6879c767e937759bf Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>