Clear mod action Table when deleting mods; Avoid crashy nulls. (#6026)

This commit is contained in:
will-ca 2022-01-23 11:43:40 -08:00 committed by GitHub
parent f285abaa26
commit 5c7832acf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -529,6 +529,7 @@ class ModManagementScreen(
question = "Are you SURE you want to delete this mod?",
action = {
deleteMod(mod.name)
modActionTable.clear()
rightSideButton.setText("[${mod.name}] was deleted.".tr())
},
screen = this,