mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
OP-690 Changed some texts in information dialog to better describe what the actual problem is.
This commit is contained in:
parent
f1590a4f66
commit
02ae803a3e
@ -372,10 +372,9 @@ void UploaderGadgetWidget::systemHalt()
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QMessageBox mbox(this);
|
QMessageBox mbox(this);
|
||||||
mbox.setText(QString(tr("The controller board is armed and can not be halted.\n"
|
mbox.setText(QString(tr("The controller board is armed and can not be halted.\n\n"
|
||||||
"Please make sure the board is not armed and then press halt again to proceed.\n"
|
"Please make sure the board is not armed and then press halt again to proceed\n"
|
||||||
"Or.\n"
|
"or use the rescue option to force a firmware upgrade.")));
|
||||||
"Use the rescue option to force a firmware upgrade.")));
|
|
||||||
mbox.setStandardButtons(QMessageBox::Ok);
|
mbox.setStandardButtons(QMessageBox::Ok);
|
||||||
mbox.setIcon(QMessageBox::Warning);
|
mbox.setIcon(QMessageBox::Warning);
|
||||||
mbox.exec();
|
mbox.exec();
|
||||||
@ -405,10 +404,9 @@ void UploaderGadgetWidget::systemReset()
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QMessageBox mbox(this);
|
QMessageBox mbox(this);
|
||||||
mbox.setText(QString(tr("The controller board is armed and can not be reset.\n"
|
mbox.setText(QString(tr("The controller board is armed and can not be reset.\n\n"
|
||||||
"Please make sure the board is not armed and then press reset again to proceed.\n"
|
"Please make sure the board is not armed and then press reset again to proceed\n"
|
||||||
"Or.\n"
|
"or power cycle to force a board reset.")));
|
||||||
"Use the rescue option to force a firmware upgrade.")));
|
|
||||||
mbox.setStandardButtons(QMessageBox::Ok);
|
mbox.setStandardButtons(QMessageBox::Ok);
|
||||||
mbox.setIcon(QMessageBox::Warning);
|
mbox.setIcon(QMessageBox::Warning);
|
||||||
mbox.exec();
|
mbox.exec();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user