Skip to content

Commit

Permalink
Don't manually update the statusbar all the time.
Browse files Browse the repository at this point in the history
This makes things so much less painful. Wasn't going to backport this change, but backporting the other changes made this issue awful to deal with.
  • Loading branch information
DrewNaylor committed Jun 21, 2021
1 parent 14407ee commit e7fb105
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions guinget/MainWindow.vb
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ Public Class aaformMainWindow

' Make the progress bar progress.
aaformMainWindow.toolstripprogressbarLoadingPackages.Value = i
' Update the statusbar to show the current info.
aaformMainWindow.statusbarMainWindow.Update()
Next
Else
' We do want to load from the database, so do it.
Expand Down Expand Up @@ -144,8 +142,6 @@ Public Class aaformMainWindow
End If
' Make the progress bar progress.
aaformMainWindow.toolstripprogressbarLoadingPackages.PerformStep()
' Update the statusbar to show the current info.
aaformMainWindow.statusbarMainWindow.Update()
Next
End If

Expand Down Expand Up @@ -249,8 +245,6 @@ Public Class aaformMainWindow

' Make the progress bar progress.
aaformMainWindow.toolstripprogressbarLoadingPackages.Value = PackageRow.Index
' Update the statusbar to show the current info.
aaformMainWindow.statusbarMainWindow.Update()
Next
End If

Expand Down Expand Up @@ -456,8 +450,6 @@ Public Class aaformMainWindow
End If
' Move the progress bar.
aaformMainWindow.toolstripprogressbarLoadingPackages.PerformStep()
' Update the status bar to show the current progress.
aaformMainWindow.statusbarMainWindow.Update()
Next

' Turn autosize back on for certain columns.
Expand Down Expand Up @@ -1078,8 +1070,6 @@ Public Class aaformMainWindow
End If
' Make the progress bar progress.
aaformMainWindow.toolstripprogressbarLoadingPackages.PerformStep()
' Update the status bar.
aaformMainWindow.statusbarMainWindow.Update()
Next
' Hide the progress bar.
ProgressInfoVisibility(False)
Expand Down

0 comments on commit e7fb105

Please sign in to comment.