Inits main menu controling struct; moves file list to the main window (not finished)

This commit is contained in:
2026-04-03 15:37:10 +03:00
parent 0da3cbf5bc
commit 707087b8fe
12 changed files with 120 additions and 19 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ void wait_register(query_args_t *q_args) {
int upload_confirm_cb(app_t *app, char *query, int q_len) {
if (!strncmp("finished\n", query, sizeof("finished\n") - 1)) {
ui_file_list_t *fui = (ui_file_list_t *)app->query_args->file_list_ui;
ui_file_list_t *fui = (ui_file_list_t *)app->query_args->main_ui->ui;
notification("File upload", dc_normal, "File %s is uploaded to the server!",
app->query_args->file->name);
clear_file_in_query(app->query_args);