mirror of
https://github.com/ModOrganizer2/modorganizer-bsapacker.git
synced 2026-07-27 14:06:14 -07:00
Change wording for nameless archive warning
This commit is contained in:
@@ -34,7 +34,6 @@ namespace BsaPacker
|
||||
const QString& pluginName = this->m_PackerDialog->SelectedPluginItem();
|
||||
const bool needsNewName = this->m_PackerDialog->IsNewFilename();
|
||||
const QString& archiveName = ModDtoFactory::ArchiveNameValidator(modName, pluginName, needsNewName);
|
||||
// Don't create the archive when cancelled, empty, or null
|
||||
if (archiveName == nullptr) {
|
||||
return std::make_unique<NullModDto>();
|
||||
}
|
||||
@@ -63,10 +62,10 @@ namespace BsaPacker
|
||||
if (!ok) {
|
||||
return nullptr;
|
||||
}
|
||||
// Nameless plugins are not loaded (in the games I tested). Nameless archives can be loaded in
|
||||
// some games using SArchiveList or equivalent. It is simpler to just prevent nameless archives
|
||||
// Nameless plugins are not loaded in the games I tested. Nameless archives can be loaded in
|
||||
// some games using the SArchiveList INI setting or equivalent. It is simpler to just prevent nameless archives
|
||||
else if (name.isEmpty()) {
|
||||
qWarning("Archive name is empty. Aborting creation.");
|
||||
qWarning("Archive name cannot be empty. Cancelling archive creation.");
|
||||
return nullptr;
|
||||
}
|
||||
archive_name_base = name;
|
||||
|
||||
Reference in New Issue
Block a user