Merge pull request #46 from nwg-piotr/fix45

check if fileSearchResultWrapper exists #45
This commit is contained in:
Piotr Miller
2022-01-12 11:17:56 +01:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@@ -495,7 +495,9 @@ func main() {
glib.TimeoutAdd(uint(1), func() bool {
if showWindowTrigger && win != nil && !win.IsVisible() {
win.ShowAll()
if fileSearchResultWrapper != nil {
fileSearchResultWrapper.Hide()
}
// focus 1st element
b := appFlowBox.GetChildAtIndex(0)
if b != nil {