add missing nil check #15
This commit is contained in:
BIN
bin/nwg-drawer
BIN
bin/nwg-drawer
Binary file not shown.
@@ -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()
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user