diff --git a/src/GUI/PathsDialog.cxx b/src/GUI/PathsDialog.cxx index cadf9040a..20041dd43 100644 --- a/src/GUI/PathsDialog.cxx +++ b/src/GUI/PathsDialog.cxx @@ -107,13 +107,15 @@ void AddOnsPage::onAddSceneryPath() SGPath p(path.toStdString()); SGPath objectsPath = p / "Objects"; SGPath terrainPath = p / "Terrain"; + SGPath navdataPath = p / "NavData"; - if (!objectsPath.exists() && !terrainPath.exists()) { + if (!objectsPath.exists() && !terrainPath.exists() && !navdataPath.exists()) { QMessageBox mb; mb.setText(QString("The folder '%1' doesn't appear to contain scenery - add anyway?").arg(path)); mb.setStandardButtons(QMessageBox::Yes | QMessageBox::No); mb.setDefaultButton(QMessageBox::No); - mb.setInformativeText("Added scenery should contain folders called 'Objects' and / or 'Terrain'"); + mb.setInformativeText("Added scenery should contain folders called " + "'Objects' and / or 'Terrain' and / or 'NavData'"); mb.exec(); if (mb.result() == QMessageBox::No) {