mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Prep for Nightly (#4089)
* Prep for Nightly * Compile fix * Much nicer :) * One more * Fix * Last one * Cosmetics
This commit is contained in:
parent
862ff2f80d
commit
35e199b579
7 changed files with 35 additions and 22 deletions
|
@ -557,7 +557,7 @@ void MainWindow::openDocURL()
|
|||
void MainWindow::openFile()
|
||||
{
|
||||
QString fileFilter;
|
||||
if (GetCurrentFirmware()->getBoard() == BOARD_HORUS) {
|
||||
if (GetCurrentFirmware()->getBoard() == BOARD_HORUS && HORUS_READY_FOR_RELEASE()) {
|
||||
fileFilter = tr(OTX_FILES_FILTER);
|
||||
}
|
||||
else {
|
||||
|
@ -751,7 +751,7 @@ void MainWindow::loadBackup()
|
|||
|
||||
void MainWindow::readEeprom()
|
||||
{
|
||||
if(GetCurrentFirmware()->getBoard()== BOARD_HORUS) {
|
||||
if(GetCurrentFirmware()->getBoard()== BOARD_HORUS && HORUS_READY_FOR_RELEASE()) {
|
||||
// just an example
|
||||
QString path = findMassstoragePath("RADIO");
|
||||
if (path.isEmpty()) {
|
||||
|
@ -950,7 +950,7 @@ void MainWindow::updateMenus()
|
|||
bool hasMdiChild = (activeMdiChild() != 0);
|
||||
bool hasSelection = (activeMdiChild() && activeMdiChild()->hasSelection());
|
||||
|
||||
if(false /*GetCurrentFirmware()->getBoard() == BOARD_HORUS*/) {
|
||||
if(GetCurrentFirmware()->getBoard() == BOARD_HORUS && !HORUS_READY_FOR_RELEASE()) {
|
||||
newAct->setEnabled(false);
|
||||
openAct->setEnabled(false);
|
||||
saveAct->setEnabled(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue