Startup
This commit is contained in:
@@ -144,11 +144,7 @@ public class XPSSpectrum extends Panel {
|
||||
@Override
|
||||
public void onValueChanged(Device device, Object o, Object o1) {
|
||||
if (running){
|
||||
Double total = scienta.getTotalChannels().take();
|
||||
Double current = scienta.getCurrentChannel().take();
|
||||
if ((total!=null) && (current!=null)){
|
||||
getView().getStatusBar().setProgress(scienta.getProgress());
|
||||
}
|
||||
getView().getStatusBar().setProgress(scienta.getProgress());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user