taskbar progress is only displayed (on Windows at least) if state is set to NORMAL

This commit is contained in:
Anton Keks 2016-12-11 18:42:13 +02:00
parent c026f93801
commit 6a2a4a8e7c

View File

@ -112,6 +112,7 @@ public class StartStopScanningAction implements SelectionListener, ScanningProgr
if (bar == null) return null;
TaskItem item = bar.getItem(statusBar.getShell());
if (item == null) item = bar.getItem(null);
if (item != null) item.setProgressState(SWT.NORMAL);
return item;
}