When importing a PGN files with multiple games or lines, it works just fine IF the user doesn't check the option "Save to Collection".
When "Save to Collection" is selected, it is only imported the first game in the .PGN file.
Reproduction
Go to "Import Game"
Leave the option "PGN" selected, select a .PGN file which contains multiple games or lines
Check the option "Save to Collection"
No matter what category you select (repertoire, tournament and so on)
Describe the bug
When importing a PGN files with multiple games or lines, it works just fine IF the user doesn't check the option "Save to Collection". When "Save to Collection" is selected, it is only imported the first game in the .PGN file.
Reproduction
Go to "Import Game"
Leave the option "PGN" selected, select a .PGN file which contains multiple games or lines
Check the option "Save to Collection"
No matter what category you select (repertoire, tournament and so on)
The .PGN will be imported with just one game
Platform and versions
Linux Mint 22
Stack trace