@@ -229,12 +229,16 @@ Public Class BackupHelper
229
229
Form1.LatestBackupHelpLabel.Text = Localization.GetString( "ui_tasks_latest" ) & BackupTimestamp.ToString( "G" , CultureInfo.CurrentUICulture)
230
230
231
231
Logger.Log( "[INFO] Performed the first backup " & "(" & SavegamesList.Length & " files copied to " & BackupDirectory & ")." )
232
- Notification.Show(Localization.GetString( "notification_msg_first_backup" ))
232
+ If Form1.SettingsDisplayNotificationChkBox.Checked = True Then
233
+ Notification.Show(Localization.GetString( "notification_msg_first_backup" ))
234
+ End If
233
235
234
236
Catch ex As Exception
235
237
StopBackup()
236
238
Logger.Log( "[ERROR] Backup interrupted: " & ex.Message())
237
- Notification.Show(Localization.GetString( "notification_msg_backup_error" ))
239
+ If Form1.SettingsDisplayNotificationChkBox.Checked = True Then
240
+ Notification.Show(Localization.GetString( "notification_msg_backup_error" ))
241
+ End If
238
242
CustomMsgBox.Show(Localization.GetString( "msgbox_backup_error" ), Localization.GetString( "msgbox_backup_error_title" ), CustomMsgBoxButtons.OKCancel, CustomMsgBoxIcon.Error)
239
243
End Try
240
244
Else
@@ -265,12 +269,16 @@ Public Class BackupHelper
265
269
Form1.LatestBackupHelpLabel.Text = Localization.GetString( "ui_tasks_latest" ) & BackupTimestamp.ToString( "G" , CultureInfo.CurrentUICulture)
266
270
267
271
Logger.Log( "[INFO] Backup complete " & "(" & SavegamesList.Length & " files copied to " & BackupDirectory & ")." )
268
- Notification.Show(Localization.GetString( "notification_msg_backup_complete" ))
272
+ If Form1.SettingsDisplayNotificationChkBox.Checked = True Then
273
+ Notification.Show(Localization.GetString( "notification_msg_backup_complete" ))
274
+ End If
269
275
270
276
Catch ex As Exception
271
277
StopBackup()
272
278
Logger.Log( "[ERROR] Backup interrupted: " & ex.Message())
273
- Notification.Show(Localization.GetString( "notification_msg_backup_error" ))
279
+ If Form1.SettingsDisplayNotificationChkBox.Checked = True Then
280
+ Notification.Show(Localization.GetString( "notification_msg_backup_error" ))
281
+ End If
274
282
CustomMsgBox.Show(Localization.GetString( "msgbox_backup_error" ), Localization.GetString( "msgbox_backup_error_title" ), CustomMsgBoxButtons.OKCancel, CustomMsgBoxIcon.Error)
275
283
End Try
276
284
Else
0 commit comments