diff --git a/bin/nwg-drawer b/bin/nwg-drawer index 042509e..2d51fc2 100755 Binary files a/bin/nwg-drawer and b/bin/nwg-drawer differ diff --git a/main.go b/main.go index 0fedf15..56935e7 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ import ( "github.com/gotk3/gotk3/gtk" ) -const version = "0.1.7" +const version = "0.1.8" var ( appDirs []string diff --git a/uicomponents.go b/uicomponents.go index e4270e0..180147f 100644 --- a/uicomponents.go +++ b/uicomponents.go @@ -146,7 +146,9 @@ func setUpCategoriesButtonBox() *gtk.EventBox { w := b.GetAllocatedWidth() b.SetImagePosition(gtk.POS_TOP) b.SetSizeRequest(w, 0) - fileSearchResultWrapper.Hide() + if fileSearchResultWrapper != nil { + fileSearchResultWrapper.Hide() + } }) } }