Skip to content

Commit

Permalink
Merge pull request IDEMSInternational#9246 from N-thony/ifx_no_data_l…
Browse files Browse the repository at this point in the history
…oaded

Set No loaded data text correctly after auto saving
  • Loading branch information
Patowhiz authored Nov 14, 2024
2 parents 21764f0 + 09fad50 commit f61dc68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions instat/frmMain.vb
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ Public Class frmMain

strCurrentStatus = tstatus.Text
If clsRLink.bInstatObjectExists Then
tstatus.Text = "Auto saving data..."
tstatus.Text = GetTranslation("Auto saving data...")
Cursor = Cursors.WaitCursor
If Not Directory.Exists(strAutoSaveDataFolderPath) Then
Directory.CreateDirectory(strAutoSaveDataFolderPath)
Expand All @@ -1168,11 +1168,11 @@ Public Class frmMain
clsSaveRDS.AddParameter("object", clsRLink.strInstatDataObject)
clsSaveRDS.AddParameter("file", Chr(34) & strCurrentAutoSaveDataFilePath.Replace("\", "/") & Chr(34))
clsRLink.RunInternalScript(clsSaveRDS.ToScript(), bSilent:=True, bShowWaitDialogOverride:=False)

tstatus.Text = strCurrentStatus
Cursor = Cursors.Default
bFirstBackupDone = True
End If
autoTranslate(Me)
End Sub

Public Sub DeleteAutoSaveFiles()
Expand Down

0 comments on commit f61dc68

Please sign in to comment.