3 Commits

Author SHA1 Message Date
Piotr Miller
9d0c4d2e5f Merge pull request #16 from nwg-piotr/fixnofs
fix crash on a category button click while file search turned off (`-nofs`)
2021-08-27 01:33:01 +02:00
piotr
a7968d8510 version bump 2021-08-27 01:23:16 +02:00
piotr
e601316480 add missing nil check #15 2021-08-27 01:21:41 +02:00
3 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@@ -19,7 +19,7 @@ import (
"github.com/gotk3/gotk3/gtk"
)
const version = "0.1.7"
const version = "0.1.8"
var (
appDirs []string

View File

@@ -146,7 +146,9 @@ func setUpCategoriesButtonBox() *gtk.EventBox {
w := b.GetAllocatedWidth()
b.SetImagePosition(gtk.POS_TOP)
b.SetSizeRequest(w, 0)
if fileSearchResultWrapper != nil {
fileSearchResultWrapper.Hide()
}
})
}
}