From ade7993fcb468433d28e569e16e90de4251114ab Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 23 Mar 2015 17:04:53 -0300 Subject: incremental search and filter reintegrated! --- OpenFilesScreen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenFilesScreen.c') diff --git a/OpenFilesScreen.c b/OpenFilesScreen.c index 168c6c14..296fdaf7 100644 --- a/OpenFilesScreen.c +++ b/OpenFilesScreen.c @@ -198,7 +198,7 @@ void OpenFilesScreen_run(OpenFilesScreen* this) { Panel_setSelected(panel, mevent.y - panel->y + panel->scrollV); ch = 0; } if (mevent.y == LINES - 1) - ch = FunctionBar_synthesizeEvent(inc->bar, mevent.x); + ch = IncSet_synthesizeEvent(inc, mevent.x); } if (inc->active) { @@ -211,11 +211,11 @@ void OpenFilesScreen_run(OpenFilesScreen* this) { continue; case KEY_F(3): case '/': - IncSet_activate(inc, INC_SEARCH); + IncSet_activate(inc, INC_SEARCH, panel); break; case KEY_F(4): case '\\': - IncSet_activate(inc, INC_FILTER); + IncSet_activate(inc, INC_FILTER, panel); break; case KEY_F(5): clear(); -- cgit v1.2.3