mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Fixed smartsave button instatiation race condition
This commit is contained in:
parent
e70f41eb29
commit
ddf45b79cd
@ -367,7 +367,7 @@ void ConfigTaskWidget::forceShadowUpdates()
|
||||
setDirty(true);
|
||||
}
|
||||
/**
|
||||
* SLOT function called when on of the widgets contents added to the framework changes
|
||||
* SLOT function called when one of the widgets contents added to the framework changes
|
||||
*/
|
||||
void ConfigTaskWidget::widgetsContentsChanged()
|
||||
{
|
||||
@ -412,7 +412,8 @@ void ConfigTaskWidget::widgetsContentsChanged()
|
||||
}
|
||||
}
|
||||
}
|
||||
smartsave->resetIcons();
|
||||
if(smartsave)
|
||||
smartsave->resetIcons();
|
||||
setDirty(true);
|
||||
}
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user