Commit df2fd7fd authored by Albert Gräf's avatar Albert Gräf
Browse files

Fix the findbox regression, part 1.

This makes Ctrl+F work again, by making sure that edit mode is set
correctly in the GUI even if glob_ctrl is set (because the Ctrl key up
event goes to the find box and is thus is never received by the canvas).
parent 86fca6bd
......@@ -8042,7 +8042,7 @@ void canvas_editmode(t_canvas *x, t_floatarg fyesplease)
if (glist_isvisible(x))
int edit = !glob_ctrl && x->gl_edit;
int edit = /*!glob_ctrl && */x->gl_edit;
gui_vmess("gui_canvas_set_editmode", "xi",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment