Switch to .otx extension instead of .eepe for new files
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user