Commit 53fa2501 authored by Dave Davenport's avatar Dave Davenport

Do not reset view, reload it.

parent 0968c4f2
......@@ -286,14 +286,14 @@ static ModeMode top_mode_result ( Mode *sw, int mretv, char **input, unsigned in
} else {
rmpd->sort_order = !(rmpd->sort_order);
}
retv = RESET_DIALOG;
retv = RELOAD_DIALOG;
} else if ( ( mretv & MENU_OK ) ) {
retv = RESET_DIALOG;
retv = RELOAD_DIALOG;
} else if ( ( mretv & MENU_ENTRY_DELETE ) == MENU_ENTRY_DELETE ) {
if ( selected_line < rmpd->array_length ){
kill ( rmpd->array[selected_line].pid, SIGTERM);
}
retv = RESET_DIALOG;
retv = RELOAD_DIALOG;
}
return retv;
}
......
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