Fix for #874.
Also killed some unused defines that were only confusing.
This commit is contained in:
@@ -146,7 +146,7 @@ void burnDialog::on_FlashLoadButton_clicked()
|
|||||||
checkFw(fileName);
|
checkFw(fileName);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QString fileName = QFileDialog::getOpenFileName(this,tr("Choose file to load Models and Settings from"), g.eepromDir(), tr(EXTERNAL_EEPROM_FILES_FILTER));
|
QString fileName = QFileDialog::getOpenFileName(this,tr("Choose file to load Models and Settings from"), g.eepromDir(), tr(EEPE_FILES_FILTER));
|
||||||
if (checkeEprom(fileName)) {
|
if (checkeEprom(fileName)) {
|
||||||
if (burnraw==false) {
|
if (burnraw==false) {
|
||||||
ui->BurnFlashButton->setEnabled(true);
|
ui->BurnFlashButton->setEnabled(true);
|
||||||
|
|||||||
@@ -7,12 +7,9 @@
|
|||||||
#include "flashinterface.h"
|
#include "flashinterface.h"
|
||||||
#include "xmlinterface.h"
|
#include "xmlinterface.h"
|
||||||
|
|
||||||
#define XML_FILES_FILTER "XML files (*.xml);;"
|
|
||||||
#define HEX_FILES_FILTER "HEX files (*.hex);;"
|
#define HEX_FILES_FILTER "HEX files (*.hex);;"
|
||||||
#define BIN_FILES_FILTER "BIN files (*.bin);;"
|
#define BIN_FILES_FILTER "BIN files (*.bin);;"
|
||||||
#define EEPE_FILES_FILTER "EEPE EEPROM files (*.eepe);;"
|
#define EEPE_FILES_FILTER "EEPE EEPROM files (*.eepe);;"
|
||||||
#define EEPM_FILES_FILTER "EEPE MODEL files (*.eepm);;"
|
|
||||||
// #define EEPROM_FILES_FILTER "EEPE files (*.xml *.eepe *.eepm *.bin *.hex);;" XML_FILES_FILTER EEPE_FILES_FILTER EEPM_FILES_FILTER BIN_FILES_FILTER HEX_FILES_FILTER
|
|
||||||
#define EEPROM_FILES_FILTER "EEPE files (*.eepe *.bin *.hex);;" EEPE_FILES_FILTER BIN_FILES_FILTER HEX_FILES_FILTER
|
#define EEPROM_FILES_FILTER "EEPE files (*.eepe *.bin *.hex);;" EEPE_FILES_FILTER BIN_FILES_FILTER HEX_FILES_FILTER
|
||||||
#define FLASH_FILES_FILTER "FLASH files (*.bin *.hex);;" BIN_FILES_FILTER HEX_FILES_FILTER
|
#define FLASH_FILES_FILTER "FLASH files (*.bin *.hex);;" BIN_FILES_FILTER HEX_FILES_FILTER
|
||||||
#define EXTERNAL_EEPROM_FILES_FILTER "EEPROM files (*.bin *.hex);;" BIN_FILES_FILTER HEX_FILES_FILTER
|
#define EXTERNAL_EEPROM_FILES_FILTER "EEPROM files (*.bin *.hex);;" BIN_FILES_FILTER HEX_FILES_FILTER
|
||||||
|
|||||||
Reference in New Issue
Block a user