mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
Added error string to output, to help resolving issue #1217
This commit is contained in:
parent
5f0f5de111
commit
2248c84b8f
1 changed files with 2 additions and 2 deletions
|
@ -159,11 +159,11 @@ void avrOutputDialog::doCopy()
|
|||
dest.close();
|
||||
}
|
||||
else {
|
||||
QMessageBox::warning(this, tr("Error"),tr("Cannot write destination"));
|
||||
QMessageBox::warning(this, tr("Error"),tr("Cannot write destination") + ": " + dest.errorString());
|
||||
}
|
||||
}
|
||||
else {
|
||||
QMessageBox::warning(this, tr("Error"),tr("Cannot open source file"));
|
||||
QMessageBox::warning(this, tr("Error"),tr("Cannot open source file") + ": " + source.errorString());
|
||||
}
|
||||
|
||||
source.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue