mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
Update dialog on configplugin
This commit is contained in:
parent
c49382cdec
commit
53685faabe
@ -167,7 +167,7 @@ void ConfigPlugin::eraseDone(UAVObject * obj)
|
|||||||
disconnect(objper, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(eraseDone(UAVObject *)));
|
disconnect(objper, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(eraseDone(UAVObject *)));
|
||||||
if (obj->getField("Operation")->getValue().toString().compare(QString("Completed")) == 0) {
|
if (obj->getField("Operation")->getValue().toString().compare(QString("Completed")) == 0) {
|
||||||
settingsErased = true;
|
settingsErased = true;
|
||||||
msgBox.setText(tr("Settings erased."));
|
msgBox.setText(tr("Settings are now erased."));
|
||||||
msgBox.setInformativeText(tr("Please now power-cycle your board to complete reset."));
|
msgBox.setInformativeText(tr("Please now power-cycle your board to complete reset."));
|
||||||
} else {
|
} else {
|
||||||
msgBox.setText(tr("Error trying to erase settings."));
|
msgBox.setText(tr("Error trying to erase settings."));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user