mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix SEGV on Finish AddDeviceWizard
Telemetry updates were trying to use the device controller after it had been deleted.
This commit is contained in:
@@ -709,6 +709,8 @@ AddPair::searchTimeout(int channel)
|
||||
void
|
||||
AddPair::getChannelValues()
|
||||
{
|
||||
if (wizard->controller == NULL) return;
|
||||
|
||||
// enable disable widgets based upon sensor selection
|
||||
for (int i=0; i< channelWidget->invisibleRootItem()->childCount(); i++) {
|
||||
QTreeWidgetItem *item = channelWidget->invisibleRootItem()->child(i);
|
||||
|
||||
Reference in New Issue
Block a user