Skip to content

Commit

Permalink
remove redundant show that causes eventloop to remain active
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Jan 14, 2022
1 parent 23c3808 commit 6cbb375
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ImageView.jl
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,6 @@ function create_contrast_popup(canvas, enabled, hists, clim)
popupmenu = Menu()
contrast = MenuItem("Contrast...")
push!(popupmenu, contrast)
Gtk.showall(popupmenu)
push!(canvas.preserved, map(canvas.mouse.buttonpress; name="open contrast GUI") do btn
if btn.button == 3 && btn.clicktype == BUTTON_PRESS
popup(popupmenu, btn.gtkevent)
Expand Down

0 comments on commit 6cbb375

Please sign in to comment.