Fixed serialize crash when using "Backups Only" and "New Backups Pending" filters in Linux

This commit is contained in:
Michael J. Seiferling
2019-02-27 18:17:06 -06:00
parent 2682274e57
commit dec4c3d0b8
2 changed files with 2 additions and 24 deletions
+2 -2
View File
@@ -342,7 +342,7 @@ Public Class frmGameManager
oRestoreData = mgrRestore.CompareManifests
'Only show games with data to restore
Dim oTemporaryList As OrderedDictionary = mgrCommon.GenericClone(GameData)
Dim oTemporaryList As OrderedDictionary = mgrMonitorList.ReadFilteredList(oCurrentIncludeTagFilters, oCurrentExcludeTagFilters, oCurrentFilters, eCurrentFilter, bCurrentAndOperator, bCurrentSortAsc, sCurrentSortField)
For Each de As DictionaryEntry In oTemporaryList
oGame = DirectCast(de.Value, clsGame)
If Not oRestoreData.ContainsKey(oGame.ID) Then
@@ -353,7 +353,7 @@ Public Class frmGameManager
Next
ElseIf optBackupData.Checked Then
'Only show games with backup data
Dim oTemporaryList As OrderedDictionary = mgrCommon.GenericClone(GameData)
Dim oTemporaryList As OrderedDictionary = mgrMonitorList.ReadFilteredList(oCurrentIncludeTagFilters, oCurrentExcludeTagFilters, oCurrentFilters, eCurrentFilter, bCurrentAndOperator, bCurrentSortAsc, sCurrentSortField)
oRestoreData = oRemoteBackupData.Clone
For Each de As DictionaryEntry In oTemporaryList