diff options
author | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2020-12-27 04:23:38 +0300 |
---|---|---|
committer | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2020-12-27 04:23:38 +0300 |
commit | f527e0a2d9a1781d815f2d2b833a4ef85b65ca49 (patch) | |
tree | f934a091e228a689d740fc6f8992a2005f5578b2 | |
parent | 8076c89f10eb4cae869db123954bd78a107e111e (diff) |
fixed bug where the wrong path was being passed to the API to retrieve the list of files (changed fileInformation.Path to fileInformation.Name)2.6.0-dev
-rwxr-xr-x | ui/FilesPanel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/FilesPanel.go b/ui/FilesPanel.go index 40ff852..19140a3 100755 --- a/ui/FilesPanel.go +++ b/ui/FilesPanel.go @@ -235,7 +235,7 @@ func (this *filesPanel) createLoadAndPrintButton(imageFileName string, fileInfor func (this *filesPanel) createOpenFolderButton(fileInformation *octoprint.FileInformation) gtk.IWidget { image := utils.MustImageFromFileWithSize("open.svg", this.Scaled(40), this.Scaled(40)) button := utils.MustButton(image, func() { - this.locationHistory.goForward(fileInformation.Path) + this.locationHistory.goForward(fileInformation.Name) this.doLoadFiles() }) |