|
|
|
@ -36,6 +36,8 @@ Launcher::DataFilesPage::DataFilesPage(Files::ConfigurationManager &cfg, Config:
|
|
|
|
|
ui.setupUi (this);
|
|
|
|
|
setObjectName ("DataFilesPage");
|
|
|
|
|
mSelector = new ContentSelectorView::ContentSelector (ui.contentSelectorWidget);
|
|
|
|
|
const QString encoding = mGameSettings.value("encoding", "win1252");
|
|
|
|
|
mSelector->setEncoding(encoding);
|
|
|
|
|
|
|
|
|
|
mProfileDialog = new TextInputDialog(tr("New Content List"), tr("Content List name:"), this);
|
|
|
|
|
|
|
|
|
@ -357,4 +359,4 @@ void Launcher::DataFilesPage::reloadCells(QStringList selectedFiles)
|
|
|
|
|
QStringList cellNamesList = QStringList::fromSet(cellNameLoader.getCellNames(selectedFiles));
|
|
|
|
|
std::sort(cellNamesList.begin(), cellNamesList.end());
|
|
|
|
|
emit signalLoadedCellsChanged(cellNamesList);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|