1
0
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:
Laura Sebesta 2012-04-19 09:42:35 -04:00
parent e70f41eb29
commit ddf45b79cd

View File

@ -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);
}
/**