diff --git a/sagasu/src/mainwindow.cpp b/sagasu/src/mainwindow.cpp index 85fbfca..a21e5c2 100644 --- a/sagasu/src/mainwindow.cpp +++ b/sagasu/src/mainwindow.cpp @@ -91,7 +91,7 @@ void MainWindow::refreshParts(QString path) auto mdlWidget = new MDLPart(data, fileCache); mdlWidget->addModel(physis_mdl_parse(file), QStringLiteral("mdl"), {}, 0); partHolder->addTab(mdlWidget, QStringLiteral("Model")); - } else if (info.completeSuffix() == QStringLiteral("tex")) { + } else if (info.completeSuffix() == QStringLiteral("tex") || info.completeSuffix() == QStringLiteral("atex")) { auto texWidget = new TexPart(data); texWidget->load(file); partHolder->addTab(texWidget, QStringLiteral("Texture"));