Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Z-Bolt/OctoScreen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffB42 <10328858+JeffB42@users.noreply.github.com>2020-12-27 04:23:38 +0300
committerJeffB42 <10328858+JeffB42@users.noreply.github.com>2020-12-27 04:23:38 +0300
commitf527e0a2d9a1781d815f2d2b833a4ef85b65ca49 (patch)
treef934a091e228a689d740fc6f8992a2005f5578b2
parent8076c89f10eb4cae869db123954bd78a107e111e (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-xui/FilesPanel.go2
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()
})