check if fileSearchResultWrapper exists #45

This commit is contained in:
piotr
2022-01-12 11:06:05 +01:00
parent f67f1a9950
commit 15c9029935
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 { glib.TimeoutAdd(uint(1), func() bool {
if showWindowTrigger && win != nil && !win.IsVisible() { if showWindowTrigger && win != nil && !win.IsVisible() {
win.ShowAll() win.ShowAll()
if fileSearchResultWrapper != nil {
fileSearchResultWrapper.Hide() fileSearchResultWrapper.Hide()
}
// focus 1st element // focus 1st element
b := appFlowBox.GetChildAtIndex(0) b := appFlowBox.GetChildAtIndex(0)
if b != nil { if b != nil {