mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-22 07:02:29 +00:00
Handle -nogui option in PamWorker
PamWorker used to catalog files at startup (if a file folder input system is used). This creates a progress dialog. Stop it appearing in -nogui operations.
This commit is contained in:
parent
8569b6b579
commit
b3f6c0e665
@ -44,7 +44,10 @@ public class PamWorker<T> {
|
||||
*/
|
||||
public PamWorker(PamWorkWrapper<T> pamWorkWrapper, Window parentFrame, int nTextRows, String title) {
|
||||
this.pamWorkWrapper = pamWorkWrapper;
|
||||
if (PamGUIManager.isFX()) {
|
||||
if (PamGUIManager.getGUIType() == PamGUIManager.NOGUI) {
|
||||
|
||||
}
|
||||
else if (PamGUIManager.isFX()) {
|
||||
//TODO - make a node that can be extracted here.
|
||||
pamWorkProgress = new PamWorkerProgressFX();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user