Cancel donwload: scaffold

This commit is contained in:
2026-06-02 15:38:30 +03:00
parent 4aca8fb5a4
commit 1ce2cccf59
4 changed files with 10 additions and 3 deletions
+1 -3
View File
@@ -35,9 +35,7 @@ void dwn_pr_modal_cb(w_cb_args_t *args) {
server_send_string(app->query_args, "cancel\n");
FILE_CLEAN(app);
d->needs_destroy = true;
app->query_args->state = S_FILE_LIST;
server_send_string(app->query_args, "file list %d %d\n", fui->max_lines,
fui->current_page);
app->query_args->state = S_WAIT_SERVER_READY;
}
}