Skip to content

Commit

Permalink
feat: reset selected index and update object list after batch processing
Browse files Browse the repository at this point in the history
  • Loading branch information
pteich committed Feb 19, 2025
1 parent 76e34a3 commit 0bdfb8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file modified screenshots/filelist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions windows/mainwindow.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ func (mw *MainWindow) loadObjects(ctx context.Context) {
if len(batch) > 0 {
lastKey = batch[len(batch)-1].Key
}

mw.selectedIndex = -1
mw.updateObjectList()
}
if err != nil {
dialog.ShowError(err, mw.window)
Expand Down

0 comments on commit 0bdfb8e

Please sign in to comment.