Fixed issue #26
This commit is contained in:
Generated
+2
-2
@@ -693,10 +693,10 @@ Partial Class frmGameManager
|
|||||||
Me.optPendingRestores.AutoSize = True
|
Me.optPendingRestores.AutoSize = True
|
||||||
Me.optPendingRestores.Location = New System.Drawing.Point(6, 64)
|
Me.optPendingRestores.Location = New System.Drawing.Point(6, 64)
|
||||||
Me.optPendingRestores.Name = "optPendingRestores"
|
Me.optPendingRestores.Name = "optPendingRestores"
|
||||||
Me.optPendingRestores.Size = New System.Drawing.Size(104, 17)
|
Me.optPendingRestores.Size = New System.Drawing.Size(122, 17)
|
||||||
Me.optPendingRestores.TabIndex = 2
|
Me.optPendingRestores.TabIndex = 2
|
||||||
Me.optPendingRestores.TabStop = True
|
Me.optPendingRestores.TabStop = True
|
||||||
Me.optPendingRestores.Text = "Restore Pending"
|
Me.optPendingRestores.Text = "New Saves Pending"
|
||||||
Me.optPendingRestores.UseVisualStyleBackColor = True
|
Me.optPendingRestores.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
'optAllGames
|
'optAllGames
|
||||||
|
|||||||
@@ -313,9 +313,9 @@ Public Class frmMain
|
|||||||
|
|
||||||
If slRestoreData.Count > 0 Then
|
If slRestoreData.Count > 0 Then
|
||||||
If slRestoreData.Count > 1 Then
|
If slRestoreData.Count > 1 Then
|
||||||
sNotification = slRestoreData.Count & " Restores pending"
|
sNotification = slRestoreData.Count & " New Saves Pending"
|
||||||
Else
|
Else
|
||||||
sNotification = slRestoreData.Count & " Restore pending"
|
sNotification = slRestoreData.Count & " New Save Pending"
|
||||||
End If
|
End If
|
||||||
gMonNotification.Image = My.Resources.Inbox
|
gMonNotification.Image = My.Resources.Inbox
|
||||||
gMonTrayNotification.Image = My.Resources.Inbox
|
gMonTrayNotification.Image = My.Resources.Inbox
|
||||||
|
|||||||
@@ -68,9 +68,11 @@ Public Class mgrMonitorList
|
|||||||
Dim hshParams As Hashtable
|
Dim hshParams As Hashtable
|
||||||
Dim oParamList As New List(Of Hashtable)
|
Dim oParamList As New List(Of Hashtable)
|
||||||
|
|
||||||
sSQL = "INSERT OR REPLACE INTO monitorlist (MonitorID, Name, Process, Path, AbsolutePath, FolderSave, FileType, TimeStamp, ExcludeList, Hours, Enabled, MonitorOnly) "
|
sSQL = "INSERT OR REPLACE INTO monitorlist (MonitorID, Name, Process, Path, AbsolutePath, FolderSave, FileType, TimeStamp, ExcludeList, ProcessPath, Icon, Hours, Version, Company, Enabled, MonitorOnly) "
|
||||||
sSQL &= "VALUES (@ID, @Name, @Process, @Path, @AbsolutePath, @FolderSave, @FileType, "
|
sSQL &= "VALUES (@ID, @Name, @Process, @Path, @AbsolutePath, @FolderSave, @FileType, "
|
||||||
sSQL &= "@TimeStamp, @ExcludeList, @Hours, @Enabled, @MonitorOnly);"
|
sSQL &= "@TimeStamp, @ExcludeList, (SELECT ProcessPath FROM monitorlist WHERE MonitorID=@ID), "
|
||||||
|
sSQL &= "(SELECT Icon FROM monitorlist WHERE MonitorID=@ID), @Hours, (SELECT Version FROM monitorlist WHERE MonitorID=@ID), "
|
||||||
|
sSQL &= "(SELECT Company FROM monitorlist WHERE MonitorID=@ID), COALESCE((SELECT Enabled FROM monitorlist WHERE MonitorID=@ID),1), COALESCE((SELECT MonitorOnly FROM monitorlist WHERE MonitorID=@ID),0));"
|
||||||
|
|
||||||
For Each oGame As clsGame In hshGames.Values
|
For Each oGame As clsGame In hshGames.Values
|
||||||
hshParams = New Hashtable
|
hshParams = New Hashtable
|
||||||
@@ -87,10 +89,6 @@ Public Class mgrMonitorList
|
|||||||
hshParams.Add("ExcludeList", oGame.ExcludeList)
|
hshParams.Add("ExcludeList", oGame.ExcludeList)
|
||||||
hshParams.Add("Hours", oGame.Hours)
|
hshParams.Add("Hours", oGame.Hours)
|
||||||
|
|
||||||
'Required Defaults
|
|
||||||
hshParams.Add("Enabled", True)
|
|
||||||
hshParams.Add("MonitorOnly", False)
|
|
||||||
|
|
||||||
oParamList.Add(hshParams)
|
oParamList.Add(hshParams)
|
||||||
Next
|
Next
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user