mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 11:28:03 +07:00
Clear mod action Table when deleting mods; Avoid crashy nulls. (#6026)
This commit is contained in:
parent
f285abaa26
commit
5c7832acf4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user