Opened 6 years ago

Closed 6 years ago

#4862 closed defect (fixed)

Inconsistent behaviour when deleting a saved game from the load or save panels

Reported by: mimo Owned by:
Priority: Should Have Milestone: Alpha 23
Component: UI & Simulation Keywords:
Cc: ztamas Patch: Phab:D1344

Description

After deleting a saved game from the load game panel, the following game is selected (or the previous one if deleting the last one). That's quite convenient when we want to delete several consecutive games. But when in the save game panel, the selection is lost. The behaviour should be the same as the save game panel.

Change History (3)

comment:1 by elexis, 6 years ago

Keywords: simple added
Milestone: Alpha 23Backlog

It would be great to reduce the affected to one line, similar to the last line in replay_actions.js:

replaySelection.selected = Math.min(selectedIndex, g_ReplaysFiltered.length - 1);

(but it didn't work on first try for me)

comment:2 by ztamas, 6 years ago

Cc: ztamas added
Milestone: BacklogWork In Progress
Patch: Phab:D1344

comment:3 by mimo, 6 years ago

Keywords: simple removed
Milestone: Work In ProgressAlpha 23
Resolution: fixed
Status: newclosed

Fixed by phab:D1344 Thanks

Note: See TracTickets for help on using tickets.