diff options
author | Thierry Crozat | 2017-11-24 22:21:44 +0000 |
---|---|---|
committer | Thierry Crozat | 2017-11-24 22:44:41 +0000 |
commit | 469e75cb64c4acd2914ec845915637e9144b159a (patch) | |
tree | 53672bab789c2259590d107a4c37b88613419b0a /po/ru_RU.po | |
parent | 150f70f94c3d8cf762ca564ac6c05fa52c62f9a8 (diff) | |
download | scummvm-rg350-469e75cb64c4acd2914ec845915637e9144b159a.tar.gz scummvm-rg350-469e75cb64c4acd2914ec845915637e9144b159a.tar.bz2 scummvm-rg350-469e75cb64c4acd2914ec845915637e9144b159a.zip |
GUI: Fix incorrect SaveLoad dialog state after updating the save list
Updating the list reset the selection in the list widget, however if
a save had previously been selected and the Choose button was enabled,
it remained enabled despite no save being selected. Trying to load
the game resulted in a crash. This was particularly an issue with
cloud enabled as if you are unlucky you could have tried to load a
save just as the cloud sync finished, which updated the list and
unselected the save. This change fixes bug #9766: Assert in
SaveLoadChooser dialog.
In addition to adding a sanity check on the selected index for the
Choose command, this commit also preserves the selection when
updating the list as I think this would be the expected behaviour
in this dialog.
Diffstat (limited to 'po/ru_RU.po')
0 files changed, 0 insertions, 0 deletions