Skip to content

Commit

Permalink
tool popover: activate actions with single click
Browse files Browse the repository at this point in the history
  • Loading branch information
carrotIndustries committed Apr 28, 2020
1 parent 158350b commit 576da12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/imp/tool_popover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ ToolPopover::ToolPopover(Gtk::Widget *parent, ActionCatalogItem::Availability av
view->append_column("Action", list_columns.name);
view->append_column("Keys", list_columns.keys);
view->set_enable_search(false);
view->set_activate_on_single_click(true);
view->signal_key_press_event().connect([this](GdkEventKey *ev) -> bool {
search_entry->grab_focus_without_selecting();
return search_entry->handle_event(ev);
Expand Down

0 comments on commit 576da12

Please sign in to comment.