mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 22:37:02 -04: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?",
|
question = "Are you SURE you want to delete this mod?",
|
||||||
action = {
|
action = {
|
||||||
deleteMod(mod.name)
|
deleteMod(mod.name)
|
||||||
|
modActionTable.clear()
|
||||||
rightSideButton.setText("[${mod.name}] was deleted.".tr())
|
rightSideButton.setText("[${mod.name}] was deleted.".tr())
|
||||||
},
|
},
|
||||||
screen = this,
|
screen = this,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user