fixed some little UI bugs
- We could open the CDashDisplay specific layout before it existed - Crash! - We could open the stream UI before there was a provider- Crash!
This commit is contained in:
@@ -230,3 +230,11 @@ func (t *TelemetryService) StopStream() {
|
||||
|
||||
t.activeProvider.StopStream()
|
||||
}
|
||||
|
||||
func (t *TelemetryService) HasActiveProvider() bool {
|
||||
if t.activeProvider == nil {
|
||||
return false
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user