Skip to content

Commit

Permalink
fix: destroy AboutDialog correctly
Browse files Browse the repository at this point in the history
Signed-off-by: 135e2 <[email protected]>
  • Loading branch information
135e2 committed Jan 25, 2022
1 parent ab74320 commit ce30671
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ func onActivate(application *gtk.Application) {
menuItem1.Connect("select", func(menuitem1 *gtk.MenuItem) {
about := About(exPath)
about.SetTransientFor(win)
about.Show()
about.Run()
about.Destroy()
})

// Launch the application
Expand Down

0 comments on commit ce30671

Please sign in to comment.