Skip to content

Commit

Permalink
revert the code
Browse files Browse the repository at this point in the history
  • Loading branch information
N-thony committed Oct 18, 2023
1 parent 1cccfc2 commit 6a118ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion instat/ucrDataView.vb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Public Class ucrDataView
End If
End If
RefreshWorksheet(worksheet, clsDataFrame)
_grid.RemoveOldWorksheets()

Next
If strCurrWorksheet IsNot Nothing Then
_grid.ReOrderWorksheets(strCurrWorksheet)
Expand All @@ -149,6 +149,7 @@ Public Class ucrDataView
_clsDataBook.RefreshData()
'If we are updating one cell we do not need to refresh the grid and the
'refresh of that cell will be done manually
_grid.RemoveOldWorksheets()
If Not bOnlyUpdateOneCell Then
AddAndUpdateWorksheets()
If _clsDataBook.DataFrames.Count = 0 Then
Expand Down

0 comments on commit 6a118ff

Please sign in to comment.