Commit 74a6fdfa authored by Jim Nelson's avatar Jim Nelson

#2658: Escape closes Extended Information window. Courtesy mcben.

parent ee47a9ff
......@@ -502,7 +502,12 @@ private class ExtendedPropertiesWindow : Gtk.Window {
}
public override bool key_press_event(Gdk.EventKey event) {
// send through to AppWindow
// hide properties
if (Gdk.keyval_name(event.keyval) == "Escape") {
hide();
return true;
}
// or send through to AppWindow
return AppWindow.get_instance().key_press_event(event);
}
......
Markdown is supported
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