* main.c (midnight_callback): Fix for the last commit - repaint

the panel if the search mode is unset.
This commit is contained in:
Pavel Roskin 2003-09-07 06:15:44 +00:00
parent 9a7b4212c6
commit 39968fa7af
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-09-07 Pavel Roskin <proski@gnu.org>
* main.c (midnight_callback): Fix for the last commit - repaint
the panel if the search mode is unset.
* dlg.h: Remove DLG_PRE_EVENT, it's unused now.
* main.c (make_panels_dirty): Remove, it's unneded now.

View File

@ -1570,7 +1570,7 @@ midnight_callback (struct Dlg_head *h, int id, int msg)
case DLG_HOTKEY_HANDLED:
if ((get_current_type () == view_listing) && cpanel->searching) {
cpanel->searching = 0;
cpanel->dirty = 1;
panel_update_contents (cpanel);
}
break;