Skip to content

Commit 872f8d0

Browse files
author
Fixerer
committed
Make selecting item on click default behaviour even when not close-on-click
1 parent 632924c commit 872f8d0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

anyrun/src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,7 @@ impl Component for App {
473473
}
474474
}
475475
AppMsg::PluginOutput(PluginBoxOutput::MatchClicked) => {
476-
if self.config.close_on_click {
477-
sender.input(AppMsg::Action(Action::Select));
478-
}
476+
sender.input(AppMsg::Action(Action::Select));
479477
}
480478
}
481479
self.update_view(widgets, sender);

0 commit comments

Comments
 (0)