Switch to .otx extension instead of .eepe for new files

This commit is contained in:
Bertrand Songis
2017-01-18 10:22:37 +01:00
parent 125c301c56
commit cfdd37bbbb
2 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -771,7 +771,7 @@ void MainWindow::readEeprom()
qDebug() << "MainWindow::readEeprom(): using temp file: " << tempFile; qDebug() << "MainWindow::readEeprom(): using temp file: " << tempFile;
if (readEepromFromRadio(tempFile)) { if (readEepromFromRadio(tempFile)) {
MdiChild *child = createMdiChild(); MdiChild * child = createMdiChild();
child->newFile(); child->newFile();
child->loadFile(tempFile, false); child->loadFile(tempFile, false);
child->show(); child->show();
+1 -1
View File
@@ -418,7 +418,7 @@ void MdiChild::newFile()
{ {
static int sequenceNumber = 1; static int sequenceNumber = 1;
isUntitled = true; isUntitled = true;
curFile = QString("document%1.eepe").arg(sequenceNumber++); curFile = QString("document%1.otx").arg(sequenceNumber++);
updateTitle(); updateTitle();
} }