summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/categoriesdialog.cpp5
-rw-r--r--src/tutorials/tutorial_primer_main.js2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/categoriesdialog.cpp b/src/categoriesdialog.cpp
index ff226286..f4515da5 100644
--- a/src/categoriesdialog.cpp
+++ b/src/categoriesdialog.cpp
@@ -148,8 +148,9 @@ void CategoriesDialog::commitChanges()
for (int i = 0; i < ui->categoriesTable->rowCount(); ++i) {
int index = ui->categoriesTable->verticalHeader()->logicalIndex(i);
- QVariantList nexusData =
- ui->categoriesTable->item(index, 3)->data(Qt::UserRole).toList();
+ QVariantList nexusData;
+ if (ui->categoriesTable->item(index, 3) != nullptr)
+ nexusData = ui->categoriesTable->item(index, 3)->data(Qt::UserRole).toList();
std::vector<CategoryFactory::NexusCategory> nexusCats;
for (auto nexusCat : nexusData) {
nexusCats.push_back(CategoryFactory::NexusCategory(
diff --git a/src/tutorials/tutorial_primer_main.js b/src/tutorials/tutorial_primer_main.js
index b74c83fa..459cd2be 100644
--- a/src/tutorials/tutorial_primer_main.js
+++ b/src/tutorials/tutorial_primer_main.js
@@ -104,7 +104,7 @@ function setupTooptips() {
switch (tutorialControl.getTabName("tabWidget")) {
case "espTab":
tooltipWidget("espList", qsTr("Plugins (esp/esm/esl files) of the mods in the current profile. They need to be checked to be loaded."))
- tooltipWidget("bossButton", qsTr("Automatically sort plugins using the bundled LOOT application."))
+ tooltipWidget("sortButton", qsTr("Automatically sort plugins using the bundled LOOT application."))
tooltipWidget("restoreButton", qsTr("Restore a backup of your plugin list order."))
tooltipWidget("saveButton", qsTr("Save a backup of your plugin list order."))
tooltipWidget("activePluginsCounter", qsTr("Counter of your total active plugins. Hover to see a breakdown of plugin types."))